How To Install python3-dirq on Rocky Linux 8

In this tutorial we learn how to install python3-dirq on Rocky Linux 8. python3-dirq is Directory based queue

Introduction

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

What is python3-dirq

The goal of this module is to offer a simple queue system using the underlying file system for storage, security and to prevent race conditions via atomic operations. It focuses on simplicity, robustness and the ability to scale. The python module dirq is compatible with the Perl module Directory

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

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

sudo dnf -y install python3-dirq

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

sudo yum -y install python3-dirq

How To Uninstall python3-dirq on Rocky Linux 8

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

sudo dnf remove python3-dirq

python3-dirq Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/dirq
/usr/lib/python3.6/site-packages/dirq-1.7.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/dirq/Exceptions.py
/usr/lib/python3.6/site-packages/dirq/QueueBase.py
/usr/lib/python3.6/site-packages/dirq/QueueNull.py
/usr/lib/python3.6/site-packages/dirq/QueueSet.py
/usr/lib/python3.6/site-packages/dirq/QueueSimple.py
/usr/lib/python3.6/site-packages/dirq/__init__.py
/usr/lib/python3.6/site-packages/dirq/__pycache__
/usr/lib/python3.6/site-packages/dirq/__pycache__/Exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/Exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/QueueBase.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/QueueBase.cpython-36.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/QueueNull.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/QueueNull.cpython-36.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/QueueSet.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/QueueSet.cpython-36.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/QueueSimple.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/QueueSimple.cpython-36.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/queue.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/queue.cpython-36.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dirq/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/dirq/queue.py
/usr/lib/python3.6/site-packages/dirq/utils.py
/usr/share/doc/python3-dirq
/usr/share/doc/python3-dirq/CHANGES
/usr/share/doc/python3-dirq/README.rst
/usr/share/doc/python3-dirq/examples
/usr/share/doc/python3-dirq/examples/dirq_simple.py
/usr/share/doc/python3-dirq/examples/dirqset_simple.py
/usr/share/doc/python3-dirq/test
/usr/share/doc/python3-dirq/test/__init__.py
/usr/share/doc/python3-dirq/test/__pycache__
/usr/share/doc/python3-dirq/test/__pycache__/__init__.cpython-36.pyc
/usr/share/doc/python3-dirq/test/__pycache__/all_tests.cpython-36.pyc
/usr/share/doc/python3-dirq/test/__pycache__/run_tests.cpython-36.pyc
/usr/share/doc/python3-dirq/test/__pycache__/testDirQueue.cpython-36.pyc
/usr/share/doc/python3-dirq/test/__pycache__/testDirQueueBase.cpython-36.pyc
/usr/share/doc/python3-dirq/test/__pycache__/testDirQueueNull.cpython-36.pyc
/usr/share/doc/python3-dirq/test/__pycache__/testDirQueueSet.cpython-36.pyc
/usr/share/doc/python3-dirq/test/__pycache__/testDirQueueSimple.cpython-36.pyc
/usr/share/doc/python3-dirq/test/__pycache__/testWrapper.cpython-36.pyc
/usr/share/doc/python3-dirq/test/all_tests.py
/usr/share/doc/python3-dirq/test/dqst.py
/usr/share/doc/python3-dirq/test/dqt.py
/usr/share/doc/python3-dirq/test/run_tests.py
/usr/share/doc/python3-dirq/test/testDirQueue.py
/usr/share/doc/python3-dirq/test/testDirQueueBase.py
/usr/share/doc/python3-dirq/test/testDirQueueNull.py
/usr/share/doc/python3-dirq/test/testDirQueueSet.py
/usr/share/doc/python3-dirq/test/testDirQueueSimple.py
/usr/share/doc/python3-dirq/test/testWrapper.py

References

Summary

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