How To Install python3-aiopg on Rocky Linux 8

In this tutorial we learn how to install python3-aiopg on Rocky Linux 8. python3-aiopg is Postgres integration with asyncio

Introduction

In this tutorial we learn how to install python3-aiopg on Rocky Linux 8.

What is python3-aiopg

aiopg is a library for accessing a PostgreSQL database from the asyncio (PEP-3156/tulip) framework. It wraps asynchronous features of the Psycopg database driver.

We can use yum or dnf to install python3-aiopg on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-aiopg.

Install python3-aiopg on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-aiopg using dnf by running the following command:

sudo dnf -y install python3-aiopg

Install python3-aiopg on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-aiopg using yum by running the following command:

sudo yum -y install python3-aiopg

How To Uninstall python3-aiopg on Rocky Linux 8

To uninstall only the python3-aiopg package we can use the following command:

sudo dnf remove python3-aiopg

python3-aiopg Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/aiopg
/usr/lib/python3.6/site-packages/aiopg-1.0.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/aiopg-1.0.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/aiopg-1.0.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/aiopg-1.0.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/aiopg-1.0.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/aiopg-1.0.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/aiopg/__init__.py
/usr/lib/python3.6/site-packages/aiopg/__pycache__
/usr/lib/python3.6/site-packages/aiopg/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/aiopg/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/aiopg/__pycache__/connection.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/aiopg/__pycache__/connection.cpython-36.pyc
/usr/lib/python3.6/site-packages/aiopg/__pycache__/cursor.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/aiopg/__pycache__/cursor.cpython-36.pyc
/usr/lib/python3.6/site-packages/aiopg/__pycache__/log.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/aiopg/__pycache__/log.cpython-36.pyc
/usr/lib/python3.6/site-packages/aiopg/__pycache__/pool.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/aiopg/__pycache__/pool.cpython-36.pyc
/usr/lib/python3.6/site-packages/aiopg/__pycache__/transaction.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/aiopg/__pycache__/transaction.cpython-36.pyc
/usr/lib/python3.6/site-packages/aiopg/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/aiopg/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/aiopg/connection.py
/usr/lib/python3.6/site-packages/aiopg/cursor.py
/usr/lib/python3.6/site-packages/aiopg/log.py
/usr/lib/python3.6/site-packages/aiopg/pool.py
/usr/lib/python3.6/site-packages/aiopg/sa
/usr/lib/python3.6/site-packages/aiopg/sa/__init__.py
/usr/lib/python3.6/site-packages/aiopg/sa/__pycache__
/usr/lib/python3.6/site-packages/aiopg/sa/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/aiopg/sa/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/aiopg/sa/__pycache__/connection.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/aiopg/sa/__pycache__/connection.cpython-36.pyc
/usr/lib/python3.6/site-packages/aiopg/sa/__pycache__/engine.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/aiopg/sa/__pycache__/engine.cpython-36.pyc
/usr/lib/python3.6/site-packages/aiopg/sa/__pycache__/exc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/aiopg/sa/__pycache__/exc.cpython-36.pyc
/usr/lib/python3.6/site-packages/aiopg/sa/__pycache__/result.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/aiopg/sa/__pycache__/result.cpython-36.pyc
/usr/lib/python3.6/site-packages/aiopg/sa/__pycache__/transaction.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/aiopg/sa/__pycache__/transaction.cpython-36.pyc
/usr/lib/python3.6/site-packages/aiopg/sa/connection.py
/usr/lib/python3.6/site-packages/aiopg/sa/engine.py
/usr/lib/python3.6/site-packages/aiopg/sa/exc.py
/usr/lib/python3.6/site-packages/aiopg/sa/result.py
/usr/lib/python3.6/site-packages/aiopg/sa/transaction.py
/usr/lib/python3.6/site-packages/aiopg/transaction.py
/usr/lib/python3.6/site-packages/aiopg/utils.py
/usr/share/doc/python3-aiopg
/usr/share/doc/python3-aiopg/README.rst
/usr/share/licenses/python3-aiopg
/usr/share/licenses/python3-aiopg/LICENSE.txt

References

Summary

In this tutorial we learn how to install python3-aiopg on Rocky Linux 8 using yum and dnf.