How To Install python3-amqp on Rocky Linux 8

In this tutorial we learn how to install python3-amqp on Rocky Linux 8. python3-amqp is Client library for AMQP

Introduction

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

What is python3-amqp

Low-level AMQP client for Python This is a fork of amqplib, maintained by the Celery project. This library should be API compatible with librabbitmq.

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

Install python3-amqp 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-amqp using dnf by running the following command:

sudo dnf -y install python3-amqp

Install python3-amqp 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-amqp using yum by running the following command:

sudo yum -y install python3-amqp

How To Uninstall python3-amqp on Rocky Linux 8

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

sudo dnf remove python3-amqp

python3-amqp Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/amqp
/usr/lib/python3.6/site-packages/amqp-2.5.2-py3.6.egg-info
/usr/lib/python3.6/site-packages/amqp-2.5.2-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/amqp-2.5.2-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/amqp-2.5.2-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/amqp-2.5.2-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/amqp-2.5.2-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/amqp-2.5.2-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/amqp/__init__.py
/usr/lib/python3.6/site-packages/amqp/__pycache__
/usr/lib/python3.6/site-packages/amqp/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/abstract_channel.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/abstract_channel.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/basic_message.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/basic_message.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/channel.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/channel.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/connection.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/connection.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/five.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/five.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/method_framing.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/method_framing.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/platform.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/platform.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/protocol.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/protocol.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/sasl.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/sasl.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/serialization.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/serialization.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/spec.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/spec.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/transport.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/transport.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/amqp/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/amqp/abstract_channel.py
/usr/lib/python3.6/site-packages/amqp/basic_message.py
/usr/lib/python3.6/site-packages/amqp/channel.py
/usr/lib/python3.6/site-packages/amqp/connection.py
/usr/lib/python3.6/site-packages/amqp/exceptions.py
/usr/lib/python3.6/site-packages/amqp/five.py
/usr/lib/python3.6/site-packages/amqp/method_framing.py
/usr/lib/python3.6/site-packages/amqp/platform.py
/usr/lib/python3.6/site-packages/amqp/protocol.py
/usr/lib/python3.6/site-packages/amqp/sasl.py
/usr/lib/python3.6/site-packages/amqp/serialization.py
/usr/lib/python3.6/site-packages/amqp/spec.py
/usr/lib/python3.6/site-packages/amqp/transport.py
/usr/lib/python3.6/site-packages/amqp/utils.py
/usr/share/doc/python3-amqp
/usr/share/doc/python3-amqp/Changelog
/usr/share/doc/python3-amqp/README.rst
/usr/share/licenses/python3-amqp
/usr/share/licenses/python3-amqp/LICENSE

References

Summary

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