How To Install python3-rq on Rocky Linux 8

In this tutorial we learn how to install python3-rq on Rocky Linux 8. python3-rq is Simple, lightweight, library for creating background jobs, and processing them

Introduction

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

What is python3-rq

RQ (Redis Queue) is a simple Python library for queueing jobs and processing them in the background with workers. It is backed by Redis and it is designed to have a low barrier to entry. It should be integrated in your web stack easily. Python 3 version.

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

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

sudo dnf -y install python3-rq

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

sudo yum -y install python3-rq

How To Uninstall python3-rq on Rocky Linux 8

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

sudo dnf remove python3-rq

python3-rq Package Contents on Rocky Linux 8

/usr/bin/rq
/usr/bin/rqinfo
/usr/bin/rqworker
/usr/lib/python3.6/site-packages/rq
/usr/lib/python3.6/site-packages/rq-1.7.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/rq-1.7.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/rq-1.7.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/rq-1.7.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/rq-1.7.0-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/rq-1.7.0-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/rq-1.7.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/rq-1.7.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/rq/__init__.py
/usr/lib/python3.6/site-packages/rq/__pycache__
/usr/lib/python3.6/site-packages/rq/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/command.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/command.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/connections.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/connections.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/decorators.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/decorators.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/defaults.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/defaults.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/dummy.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/dummy.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/job.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/job.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/local.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/local.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/logutils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/logutils.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/queue.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/queue.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/registry.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/registry.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/scheduler.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/scheduler.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/serializers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/serializers.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/suspension.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/suspension.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/timeouts.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/timeouts.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/version.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/version.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/worker.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/worker.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/worker_registration.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/__pycache__/worker_registration.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/cli
/usr/lib/python3.6/site-packages/rq/cli/__init__.py
/usr/lib/python3.6/site-packages/rq/cli/__main__.py
/usr/lib/python3.6/site-packages/rq/cli/__pycache__
/usr/lib/python3.6/site-packages/rq/cli/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/cli/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/cli/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/cli/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/cli/__pycache__/cli.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/cli/__pycache__/cli.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/cli/__pycache__/helpers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/cli/__pycache__/helpers.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/cli/cli.py
/usr/lib/python3.6/site-packages/rq/cli/helpers.py
/usr/lib/python3.6/site-packages/rq/command.py
/usr/lib/python3.6/site-packages/rq/compat
/usr/lib/python3.6/site-packages/rq/compat/__init__.py
/usr/lib/python3.6/site-packages/rq/compat/__pycache__
/usr/lib/python3.6/site-packages/rq/compat/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/compat/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/compat/__pycache__/connections.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/compat/__pycache__/connections.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/compat/__pycache__/dictconfig.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/compat/__pycache__/dictconfig.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/compat/connections.py
/usr/lib/python3.6/site-packages/rq/compat/dictconfig.py
/usr/lib/python3.6/site-packages/rq/connections.py
/usr/lib/python3.6/site-packages/rq/contrib
/usr/lib/python3.6/site-packages/rq/contrib/__init__.py
/usr/lib/python3.6/site-packages/rq/contrib/__pycache__
/usr/lib/python3.6/site-packages/rq/contrib/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/contrib/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/contrib/__pycache__/legacy.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/contrib/__pycache__/legacy.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/contrib/__pycache__/sentry.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rq/contrib/__pycache__/sentry.cpython-36.pyc
/usr/lib/python3.6/site-packages/rq/contrib/legacy.py
/usr/lib/python3.6/site-packages/rq/contrib/sentry.py
/usr/lib/python3.6/site-packages/rq/decorators.py
/usr/lib/python3.6/site-packages/rq/defaults.py
/usr/lib/python3.6/site-packages/rq/dummy.py
/usr/lib/python3.6/site-packages/rq/exceptions.py
/usr/lib/python3.6/site-packages/rq/job.py
/usr/lib/python3.6/site-packages/rq/local.py
/usr/lib/python3.6/site-packages/rq/logutils.py
/usr/lib/python3.6/site-packages/rq/queue.py
/usr/lib/python3.6/site-packages/rq/registry.py
/usr/lib/python3.6/site-packages/rq/scheduler.py
/usr/lib/python3.6/site-packages/rq/serializers.py
/usr/lib/python3.6/site-packages/rq/suspension.py
/usr/lib/python3.6/site-packages/rq/timeouts.py
/usr/lib/python3.6/site-packages/rq/utils.py
/usr/lib/python3.6/site-packages/rq/version.py
/usr/lib/python3.6/site-packages/rq/worker.py
/usr/lib/python3.6/site-packages/rq/worker_registration.py
/usr/share/doc/python3-rq
/usr/share/doc/python3-rq/README.md
/usr/share/licenses/python3-rq
/usr/share/licenses/python3-rq/LICENSE

References

Summary

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