How To Install python3-isort on Rocky Linux 8

In this tutorial we learn how to install python3-isort on Rocky Linux 8. python3-isort is Python utility / library to sort Python imports

Introduction

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

What is python3-isort

Python utility / library to sort Python imports. Python 3 version.

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

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

sudo dnf -y install python3-isort

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

sudo yum -y install python3-isort

How To Uninstall python3-isort on Rocky Linux 8

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

sudo dnf remove python3-isort

python3-isort Package Contents on Rocky Linux 8

/usr/bin/isort
/usr/bin/isort-3
/usr/bin/isort-3.6
/usr/lib/python3.6/site-packages/isort
/usr/lib/python3.6/site-packages/isort-4.3.21-py3.6.egg-info
/usr/lib/python3.6/site-packages/isort-4.3.21-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/isort-4.3.21-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/isort-4.3.21-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/isort-4.3.21-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/isort-4.3.21-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/isort-4.3.21-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/isort/__init__.py
/usr/lib/python3.6/site-packages/isort/__main__.py
/usr/lib/python3.6/site-packages/isort/__pycache__
/usr/lib/python3.6/site-packages/isort/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/finders.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/finders.cpython-36.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/hooks.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/hooks.cpython-36.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/isort.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/isort.cpython-36.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/main.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/main.cpython-36.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/natural.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/natural.cpython-36.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/pie_slice.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/pie_slice.cpython-36.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/pylama_isort.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/pylama_isort.cpython-36.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/settings.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/settings.cpython-36.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/isort/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/isort/finders.py
/usr/lib/python3.6/site-packages/isort/hooks.py
/usr/lib/python3.6/site-packages/isort/isort.py
/usr/lib/python3.6/site-packages/isort/main.py
/usr/lib/python3.6/site-packages/isort/natural.py
/usr/lib/python3.6/site-packages/isort/pie_slice.py
/usr/lib/python3.6/site-packages/isort/pylama_isort.py
/usr/lib/python3.6/site-packages/isort/settings.py
/usr/lib/python3.6/site-packages/isort/utils.py
/usr/share/doc/python3-isort
/usr/share/doc/python3-isort/ACKNOWLEDGEMENTS.md
/usr/share/doc/python3-isort/CHANGELOG.md
/usr/share/doc/python3-isort/README.rst
/usr/share/licenses/python3-isort
/usr/share/licenses/python3-isort/LICENSE

References

Summary

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