How To Install python3-asyncpg on Fedora 36
Introduction
In this tutorial we learn how to install python3-asyncpg
on Fedora 36.
What is python3-asyncpg
asyncpg is a database interface library designed specifically for PostgreSQL and Python/asyncio. asyncpg is an efficient, clean implementation of PostgreSQL server binary protocol for use with Python’s asyncio framework. You can read more about asyncpg in an introductory blog post http
We can use yum
or dnf
to install python3-asyncpg
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-asyncpg.
Install python3-asyncpg on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-asyncpg
using dnf
by running the following command:
sudo dnf -y install python3-asyncpg
Install python3-asyncpg on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-asyncpg
using yum
by running the following command:
sudo yum -y install python3-asyncpg
How To Uninstall python3-asyncpg on Fedora 36
To uninstall only the python3-asyncpg
package we can use the following command:
sudo dnf remove python3-asyncpg
python3-asyncpg Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/fa85da28f8a7b718ca1197452580100ff2e172
/usr/lib/.build-id/96
/usr/lib/.build-id/96/6d8ac95a59a5d605cea08505b13e0dcda229ed
/usr/lib64/python3.10/site-packages/asyncpg
/usr/lib64/python3.10/site-packages/asyncpg-0.25.0.dist-info
/usr/lib64/python3.10/site-packages/asyncpg-0.25.0.dist-info/AUTHORS
/usr/lib64/python3.10/site-packages/asyncpg-0.25.0.dist-info/INSTALLER
/usr/lib64/python3.10/site-packages/asyncpg-0.25.0.dist-info/LICENSE
/usr/lib64/python3.10/site-packages/asyncpg-0.25.0.dist-info/METADATA
/usr/lib64/python3.10/site-packages/asyncpg-0.25.0.dist-info/WHEEL
/usr/lib64/python3.10/site-packages/asyncpg-0.25.0.dist-info/top_level.txt
/usr/lib64/python3.10/site-packages/asyncpg/__init__.py
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/_version.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/_version.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/cluster.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/cluster.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/compat.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/compat.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/connect_utils.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/connect_utils.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/connection.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/connection.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/connresource.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/connresource.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/cursor.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/cursor.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/introspection.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/introspection.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/pool.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/pool.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/prepared_stmt.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/prepared_stmt.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/serverversion.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/serverversion.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/transaction.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/transaction.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/types.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/types.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/__pycache__/utils.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/_testbase
/usr/lib64/python3.10/site-packages/asyncpg/_testbase/__init__.py
/usr/lib64/python3.10/site-packages/asyncpg/_testbase/__pycache__
/usr/lib64/python3.10/site-packages/asyncpg/_testbase/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/_testbase/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/_testbase/__pycache__/fuzzer.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/_testbase/__pycache__/fuzzer.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/_testbase/fuzzer.py
/usr/lib64/python3.10/site-packages/asyncpg/_version.py
/usr/lib64/python3.10/site-packages/asyncpg/cluster.py
/usr/lib64/python3.10/site-packages/asyncpg/compat.py
/usr/lib64/python3.10/site-packages/asyncpg/connect_utils.py
/usr/lib64/python3.10/site-packages/asyncpg/connection.py
/usr/lib64/python3.10/site-packages/asyncpg/connresource.py
/usr/lib64/python3.10/site-packages/asyncpg/cursor.py
/usr/lib64/python3.10/site-packages/asyncpg/exceptions
/usr/lib64/python3.10/site-packages/asyncpg/exceptions/__init__.py
/usr/lib64/python3.10/site-packages/asyncpg/exceptions/__pycache__
/usr/lib64/python3.10/site-packages/asyncpg/exceptions/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/exceptions/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/exceptions/__pycache__/_base.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/exceptions/__pycache__/_base.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/exceptions/_base.py
/usr/lib64/python3.10/site-packages/asyncpg/introspection.py
/usr/lib64/python3.10/site-packages/asyncpg/pgproto
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/__init__.pxd
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/__init__.py
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/__pycache__
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/__pycache__/types.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/__pycache__/types.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/buffer.pxd
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/buffer.pyx
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/consts.pxi
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/cpythonx.pxd
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/debug.pxd
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/frb.pxd
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/frb.pyx
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/hton.pxd
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/pgproto.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/pgproto.pxd
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/pgproto.pyx
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/tohex.pxd
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/types.py
/usr/lib64/python3.10/site-packages/asyncpg/pgproto/uuid.pyx
/usr/lib64/python3.10/site-packages/asyncpg/pool.py
/usr/lib64/python3.10/site-packages/asyncpg/prepared_stmt.py
/usr/lib64/python3.10/site-packages/asyncpg/protocol
/usr/lib64/python3.10/site-packages/asyncpg/protocol/__init__.py
/usr/lib64/python3.10/site-packages/asyncpg/protocol/__pycache__
/usr/lib64/python3.10/site-packages/asyncpg/protocol/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/protocol/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/protocol/codecs
/usr/lib64/python3.10/site-packages/asyncpg/protocol/codecs/__init__.py
/usr/lib64/python3.10/site-packages/asyncpg/protocol/codecs/__pycache__
/usr/lib64/python3.10/site-packages/asyncpg/protocol/codecs/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/asyncpg/protocol/codecs/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/asyncpg/protocol/codecs/array.pyx
/usr/lib64/python3.10/site-packages/asyncpg/protocol/codecs/base.pxd
/usr/lib64/python3.10/site-packages/asyncpg/protocol/codecs/base.pyx
/usr/lib64/python3.10/site-packages/asyncpg/protocol/codecs/pgproto.pyx
/usr/lib64/python3.10/site-packages/asyncpg/protocol/codecs/range.pyx
/usr/lib64/python3.10/site-packages/asyncpg/protocol/codecs/record.pyx
/usr/lib64/python3.10/site-packages/asyncpg/protocol/codecs/textutils.pyx
/usr/lib64/python3.10/site-packages/asyncpg/protocol/consts.pxi
/usr/lib64/python3.10/site-packages/asyncpg/protocol/coreproto.pxd
/usr/lib64/python3.10/site-packages/asyncpg/protocol/coreproto.pyx
/usr/lib64/python3.10/site-packages/asyncpg/protocol/cpythonx.pxd
/usr/lib64/python3.10/site-packages/asyncpg/protocol/encodings.pyx
/usr/lib64/python3.10/site-packages/asyncpg/protocol/pgtypes.pxi
/usr/lib64/python3.10/site-packages/asyncpg/protocol/prepared_stmt.pxd
/usr/lib64/python3.10/site-packages/asyncpg/protocol/prepared_stmt.pyx
/usr/lib64/python3.10/site-packages/asyncpg/protocol/protocol.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/asyncpg/protocol/protocol.pxd
/usr/lib64/python3.10/site-packages/asyncpg/protocol/protocol.pyx
/usr/lib64/python3.10/site-packages/asyncpg/protocol/scram.pxd
/usr/lib64/python3.10/site-packages/asyncpg/protocol/scram.pyx
/usr/lib64/python3.10/site-packages/asyncpg/protocol/settings.pxd
/usr/lib64/python3.10/site-packages/asyncpg/protocol/settings.pyx
/usr/lib64/python3.10/site-packages/asyncpg/serverversion.py
/usr/lib64/python3.10/site-packages/asyncpg/transaction.py
/usr/lib64/python3.10/site-packages/asyncpg/types.py
/usr/lib64/python3.10/site-packages/asyncpg/utils.py
References
Summary
In this tutorial we learn how to install python3-asyncpg
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).