How To Install python3-django-rules on Rocky Linux 8

In this tutorial we learn how to install python3-django-rules on Rocky Linux 8. python3-django-rules is Awesome Django authorization, without the database

Introduction

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

What is python3-django-rules

Awesome Django authorization, without the database.

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

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

sudo dnf -y install python3-django-rules

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

sudo yum -y install python3-django-rules

How To Uninstall python3-django-rules on Rocky Linux 8

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

sudo dnf remove python3-django-rules

python3-django-rules Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/rules
/usr/lib/python3.6/site-packages/rules-2.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/rules-2.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/rules-2.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/rules-2.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/rules-2.1-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/rules-2.1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/rules/__init__.py
/usr/lib/python3.6/site-packages/rules/__pycache__
/usr/lib/python3.6/site-packages/rules/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/__pycache__/apps.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/__pycache__/apps.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/__pycache__/permissions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/__pycache__/permissions.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/__pycache__/predicates.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/__pycache__/predicates.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/__pycache__/rulesets.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/__pycache__/rulesets.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/apps.py
/usr/lib/python3.6/site-packages/rules/compat
/usr/lib/python3.6/site-packages/rules/compat/__init__.py
/usr/lib/python3.6/site-packages/rules/compat/__pycache__
/usr/lib/python3.6/site-packages/rules/compat/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/compat/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/compat/__pycache__/inspect.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/compat/__pycache__/inspect.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/compat/__pycache__/six.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/compat/__pycache__/six.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/compat/inspect.py
/usr/lib/python3.6/site-packages/rules/compat/six.py
/usr/lib/python3.6/site-packages/rules/contrib
/usr/lib/python3.6/site-packages/rules/contrib/__init__.py
/usr/lib/python3.6/site-packages/rules/contrib/__pycache__
/usr/lib/python3.6/site-packages/rules/contrib/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/contrib/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/contrib/__pycache__/admin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/contrib/__pycache__/admin.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/contrib/__pycache__/models.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/contrib/__pycache__/models.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/contrib/__pycache__/rest_framework.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/contrib/__pycache__/rest_framework.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/contrib/__pycache__/views.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/contrib/__pycache__/views.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/contrib/admin.py
/usr/lib/python3.6/site-packages/rules/contrib/models.py
/usr/lib/python3.6/site-packages/rules/contrib/rest_framework.py
/usr/lib/python3.6/site-packages/rules/contrib/views.py
/usr/lib/python3.6/site-packages/rules/permissions.py
/usr/lib/python3.6/site-packages/rules/predicates.py
/usr/lib/python3.6/site-packages/rules/rulesets.py
/usr/lib/python3.6/site-packages/rules/templatetags
/usr/lib/python3.6/site-packages/rules/templatetags/__init__.py
/usr/lib/python3.6/site-packages/rules/templatetags/__pycache__
/usr/lib/python3.6/site-packages/rules/templatetags/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/templatetags/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/templatetags/__pycache__/rules.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rules/templatetags/__pycache__/rules.cpython-36.pyc
/usr/lib/python3.6/site-packages/rules/templatetags/rules.py
/usr/share/licenses/python3-django-rules
/usr/share/licenses/python3-django-rules/LICENSE

References

Summary

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