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

In this tutorial we learn how to install python3-django-mptt on Rocky Linux 8. python3-django-mptt is Utilities for implementing Modified Preorder Tree Traversal

Introduction

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

What is python3-django-mptt

Utilities for implementing Modified Preorder Tree Traversal (MPTT) with your Django Model classes and working with trees of Model instances.

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

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

sudo dnf -y install python3-django-mptt

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

sudo yum -y install python3-django-mptt

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

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

sudo dnf remove python3-django-mptt

python3-django-mptt Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/django_mptt-0.12.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/django_mptt-0.12.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/django_mptt-0.12.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/django_mptt-0.12.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/django_mptt-0.12.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/django_mptt-0.12.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/mptt
/usr/lib/python3.6/site-packages/mptt/__init__.py
/usr/lib/python3.6/site-packages/mptt/__pycache__
/usr/lib/python3.6/site-packages/mptt/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/admin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/admin.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/apps.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/apps.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/fields.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/fields.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/forms.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/forms.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/managers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/managers.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/models.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/models.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/querysets.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/querysets.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/settings.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/settings.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/signals.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/signals.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/admin.py
/usr/lib/python3.6/site-packages/mptt/apps.py
/usr/lib/python3.6/site-packages/mptt/compat.py
/usr/lib/python3.6/site-packages/mptt/exceptions.py
/usr/lib/python3.6/site-packages/mptt/fields.py
/usr/lib/python3.6/site-packages/mptt/forms.py
/usr/lib/python3.6/site-packages/mptt/locale
/usr/lib/python3.6/site-packages/mptt/locale/da
/usr/lib/python3.6/site-packages/mptt/locale/da/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/da/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/de
/usr/lib/python3.6/site-packages/mptt/locale/de/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/de/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/es
/usr/lib/python3.6/site-packages/mptt/locale/es/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/es/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/es_AR
/usr/lib/python3.6/site-packages/mptt/locale/es_AR/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/es_AR/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/fi
/usr/lib/python3.6/site-packages/mptt/locale/fi/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/fi/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/fr
/usr/lib/python3.6/site-packages/mptt/locale/fr/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/fr/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/hu
/usr/lib/python3.6/site-packages/mptt/locale/hu/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/hu/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/it
/usr/lib/python3.6/site-packages/mptt/locale/it/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/it/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/mn
/usr/lib/python3.6/site-packages/mptt/locale/mn/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/mn/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/nb
/usr/lib/python3.6/site-packages/mptt/locale/nb/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/nb/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/pl
/usr/lib/python3.6/site-packages/mptt/locale/pl/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/pl/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/pt_BR
/usr/lib/python3.6/site-packages/mptt/locale/pt_BR/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/pt_BR/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/ru
/usr/lib/python3.6/site-packages/mptt/locale/ru/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/ru/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/uk
/usr/lib/python3.6/site-packages/mptt/locale/uk/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/uk/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/zh_Hans
/usr/lib/python3.6/site-packages/mptt/locale/zh_Hans/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/zh_Hans/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/locale/zh_Hant
/usr/lib/python3.6/site-packages/mptt/locale/zh_Hant/LC_MESSAGES
/usr/lib/python3.6/site-packages/mptt/locale/zh_Hant/LC_MESSAGES/django.mo
/usr/lib/python3.6/site-packages/mptt/managers.py
/usr/lib/python3.6/site-packages/mptt/models.py
/usr/lib/python3.6/site-packages/mptt/querysets.py
/usr/lib/python3.6/site-packages/mptt/settings.py
/usr/lib/python3.6/site-packages/mptt/signals.py
/usr/lib/python3.6/site-packages/mptt/static
/usr/lib/python3.6/site-packages/mptt/static/mptt
/usr/lib/python3.6/site-packages/mptt/static/mptt/arrow-move.png
/usr/lib/python3.6/site-packages/mptt/static/mptt/disclosure-down.png
/usr/lib/python3.6/site-packages/mptt/static/mptt/disclosure-right.png
/usr/lib/python3.6/site-packages/mptt/static/mptt/draggable-admin.css
/usr/lib/python3.6/site-packages/mptt/static/mptt/draggable-admin.js
/usr/lib/python3.6/site-packages/mptt/templates
/usr/lib/python3.6/site-packages/mptt/templates/admin
/usr/lib/python3.6/site-packages/mptt/templates/admin/grappelli_mptt_change_list.html
/usr/lib/python3.6/site-packages/mptt/templates/admin/grappelli_mptt_change_list_results.html
/usr/lib/python3.6/site-packages/mptt/templates/admin/mptt_change_list.html
/usr/lib/python3.6/site-packages/mptt/templates/admin/mptt_change_list_results.html
/usr/lib/python3.6/site-packages/mptt/templates/admin/mptt_filter.html
/usr/lib/python3.6/site-packages/mptt/templatetags
/usr/lib/python3.6/site-packages/mptt/templatetags/__init__.py
/usr/lib/python3.6/site-packages/mptt/templatetags/__pycache__
/usr/lib/python3.6/site-packages/mptt/templatetags/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/templatetags/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/templatetags/__pycache__/mptt_admin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/templatetags/__pycache__/mptt_admin.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/templatetags/__pycache__/mptt_tags.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/mptt/templatetags/__pycache__/mptt_tags.cpython-36.pyc
/usr/lib/python3.6/site-packages/mptt/templatetags/mptt_admin.py
/usr/lib/python3.6/site-packages/mptt/templatetags/mptt_tags.py
/usr/lib/python3.6/site-packages/mptt/utils.py
/usr/share/doc/python3-django-mptt
/usr/share/doc/python3-django-mptt/NOTES
/usr/share/doc/python3-django-mptt/README.rst
/usr/share/licenses/python3-django-mptt
/usr/share/licenses/python3-django-mptt/LICENSE

References

Summary

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