How To Install python3-messaging on Rocky Linux 8

In this tutorial we learn how to install python3-messaging on Rocky Linux 8. python3-messaging is Python abstraction of a “message”

Introduction

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

What is python3-messaging

This module provides an abstraction of a “message”, as used in Enterprise Messaging Systems. The modules include a transport independent message abstraction, a versatile message generator and several message queues/spools to locally store messages. The python module messaging is compatible with the Perl module Messaging

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

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

sudo dnf -y install python3-messaging

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

sudo yum -y install python3-messaging

How To Uninstall python3-messaging on Rocky Linux 8

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

sudo dnf remove python3-messaging

python3-messaging Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/messaging
/usr/lib/python3.6/site-packages/messaging-1.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/messaging/__init__.py
/usr/lib/python3.6/site-packages/messaging/__pycache__
/usr/lib/python3.6/site-packages/messaging/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/messaging/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/messaging/__pycache__/error.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/messaging/__pycache__/error.cpython-36.pyc
/usr/lib/python3.6/site-packages/messaging/__pycache__/generator.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/messaging/__pycache__/generator.cpython-36.pyc
/usr/lib/python3.6/site-packages/messaging/__pycache__/message.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/messaging/__pycache__/message.cpython-36.pyc
/usr/lib/python3.6/site-packages/messaging/__pycache__/stomppy.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/messaging/__pycache__/stomppy.cpython-36.pyc
/usr/lib/python3.6/site-packages/messaging/error.py
/usr/lib/python3.6/site-packages/messaging/generator.py
/usr/lib/python3.6/site-packages/messaging/message.py
/usr/lib/python3.6/site-packages/messaging/queue
/usr/lib/python3.6/site-packages/messaging/queue/__init__.py
/usr/lib/python3.6/site-packages/messaging/queue/__pycache__
/usr/lib/python3.6/site-packages/messaging/queue/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/messaging/queue/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/messaging/queue/__pycache__/dqn.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/messaging/queue/__pycache__/dqn.cpython-36.pyc
/usr/lib/python3.6/site-packages/messaging/queue/__pycache__/dqs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/messaging/queue/__pycache__/dqs.cpython-36.pyc
/usr/lib/python3.6/site-packages/messaging/queue/__pycache__/null.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/messaging/queue/__pycache__/null.cpython-36.pyc
/usr/lib/python3.6/site-packages/messaging/queue/dqn.py
/usr/lib/python3.6/site-packages/messaging/queue/dqs.py
/usr/lib/python3.6/site-packages/messaging/queue/null.py
/usr/lib/python3.6/site-packages/messaging/stomppy.py
/usr/share/doc/python3-messaging
/usr/share/doc/python3-messaging/CHANGES
/usr/share/doc/python3-messaging/LICENSE
/usr/share/doc/python3-messaging/README.rst
/usr/share/doc/python3-messaging/example
/usr/share/doc/python3-messaging/example/generator_example.py
/usr/share/doc/python3-messaging/example/message_example.py
/usr/share/doc/python3-messaging/example/queue_example.py
/usr/share/doc/python3-messaging/example/stomppy_example.py
/usr/share/doc/python3-messaging/test
/usr/share/doc/python3-messaging/test/__init__.py
/usr/share/doc/python3-messaging/test/__pycache__
/usr/share/doc/python3-messaging/test/__pycache__/__init__.cpython-36.pyc
/usr/share/doc/python3-messaging/test/__pycache__/all_tests.cpython-36.pyc
/usr/share/doc/python3-messaging/test/__pycache__/generator_test.cpython-36.pyc
/usr/share/doc/python3-messaging/test/__pycache__/message_test.cpython-36.pyc
/usr/share/doc/python3-messaging/test/__pycache__/queue_test.cpython-36.pyc
/usr/share/doc/python3-messaging/test/__pycache__/run_tests.cpython-36.pyc
/usr/share/doc/python3-messaging/test/all_tests.py
/usr/share/doc/python3-messaging/test/compliance
/usr/share/doc/python3-messaging/test/compliance/1d9d0faf7130b6c7ff996a8d94f424a0.1
/usr/share/doc/python3-messaging/test/compliance/1d9d0faf7130b6c7ff996a8d94f424a0.2
/usr/share/doc/python3-messaging/test/compliance/1d9d0faf7130b6c7ff996a8d94f424a0.3
/usr/share/doc/python3-messaging/test/compliance/1d9d0faf7130b6c7ff996a8d94f424a0.4
/usr/share/doc/python3-messaging/test/compliance/1d9d0faf7130b6c7ff996a8d94f424a0.5
/usr/share/doc/python3-messaging/test/compliance/1d9d0faf7130b6c7ff996a8d94f424a0.6
/usr/share/doc/python3-messaging/test/compliance/1d9d0faf7130b6c7ff996a8d94f424a0.7
/usr/share/doc/python3-messaging/test/compliance/1d9d0faf7130b6c7ff996a8d94f424a0.8
/usr/share/doc/python3-messaging/test/compliance/298b5466c1d3702a022032abc116223c.1
/usr/share/doc/python3-messaging/test/compliance/298b5466c1d3702a022032abc116223c.2
/usr/share/doc/python3-messaging/test/compliance/59181ee8a1d930bee8f4a5487d0af37b.0
/usr/share/doc/python3-messaging/test/compliance/59181ee8a1d930bee8f4a5487d0af37b.1
/usr/share/doc/python3-messaging/test/compliance/59181ee8a1d930bee8f4a5487d0af37b.2
/usr/share/doc/python3-messaging/test/compliance/59181ee8a1d930bee8f4a5487d0af37b.3
/usr/share/doc/python3-messaging/test/compliance/8970766db24a582afa2be6456f62eae9
/usr/share/doc/python3-messaging/test/compliance/aa7b4c1df3d271390652ef0be6768e15
/usr/share/doc/python3-messaging/test/compliance/b21a8d2c3afcb082d8ff7c66e1ba36f9.0
/usr/share/doc/python3-messaging/test/compliance/b21a8d2c3afcb082d8ff7c66e1ba36f9.1
/usr/share/doc/python3-messaging/test/compliance/b8c9cc9047c311f3fa94c658485cdc1a.0
/usr/share/doc/python3-messaging/test/compliance/b8c9cc9047c311f3fa94c658485cdc1a.1
/usr/share/doc/python3-messaging/test/compliance/b8fcb9e510fb46d10c94e5fd4827af0c.0
/usr/share/doc/python3-messaging/test/compliance/b8fcb9e510fb46d10c94e5fd4827af0c.1
/usr/share/doc/python3-messaging/test/compliance/bb0c9dbb080299c17116a33e9a793515
/usr/share/doc/python3-messaging/test/compliance/bc14f24344b13083dcba4d790f38c2bd
/usr/share/doc/python3-messaging/test/compliance/be5e7dd3b3df760ad54ed5b8ddf44e25
/usr/share/doc/python3-messaging/test/compliance/c5e85ccaf570929830758492eb4b3bbf.0
/usr/share/doc/python3-messaging/test/compliance/c5e85ccaf570929830758492eb4b3bbf.1
/usr/share/doc/python3-messaging/test/compliance/e320488cc32403999f01da8164a6aee0.1
/usr/share/doc/python3-messaging/test/compliance/e320488cc32403999f01da8164a6aee0.2
/usr/share/doc/python3-messaging/test/compliance/f0fedf2793c7e74392fd6063308e49db.0
/usr/share/doc/python3-messaging/test/compliance/f0fedf2793c7e74392fd6063308e49db.1
/usr/share/doc/python3-messaging/test/compliance/f4b41f7ac77257bf9dfa151e87675878.1
/usr/share/doc/python3-messaging/test/compliance/f4b41f7ac77257bf9dfa151e87675878.2
/usr/share/doc/python3-messaging/test/compliance/f4b41f7ac77257bf9dfa151e87675878.3
/usr/share/doc/python3-messaging/test/compliance/f5dd5c46cd0ba94ad0b91dbf13cc56ce
/usr/share/doc/python3-messaging/test/compliance/ff5ef66a72f260614378357c967a32af.0
/usr/share/doc/python3-messaging/test/compliance/ff5ef66a72f260614378357c967a32af.1
/usr/share/doc/python3-messaging/test/generator_test.py
/usr/share/doc/python3-messaging/test/message_test.py
/usr/share/doc/python3-messaging/test/queue_test.py
/usr/share/doc/python3-messaging/test/run_tests.py

References

Summary

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