How To Install python3-nine on Rocky Linux 8

In this tutorial we learn how to install python3-nine on Rocky Linux 8. python3-nine is Python 2 / 3 compatibility, like six, but favouring Python 3

Introduction

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

What is python3-nine

Let’s write Python 3 right now! When the best Python 2/Python 3 compatibility modules – especially the famous `six library invented by Benjamin Peterson <https from the point of view of a Python 2 programmer starting to grok Python 3. When thou writeth Python, thou shalt write Python 3 and, just for a while, ensure that the thing worketh on Python 2.7 and, possibly, even 2.6. Just before Python 2 is finally phased out, thine codebase shall look more like 3 than like 2. nine facilitates this new point of view. You can write code that is as 3ish as possible while still supporting 2.6. Very comfortable for writing new projects.

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

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

sudo dnf -y install python3-nine

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

sudo yum -y install python3-nine

How To Uninstall python3-nine on Rocky Linux 8

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

sudo dnf remove python3-nine

python3-nine Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/nine
/usr/lib/python3.6/site-packages/nine-1.1.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/nine-1.1.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/nine-1.1.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/nine-1.1.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/nine-1.1.0-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/nine-1.1.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/nine/__init__.py
/usr/lib/python3.6/site-packages/nine/__pycache__
/usr/lib/python3.6/site-packages/nine/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nine/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/nine/__pycache__/decorator.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nine/__pycache__/decorator.cpython-36.pyc
/usr/lib/python3.6/site-packages/nine/__pycache__/test_nine.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/nine/__pycache__/test_nine.cpython-36.pyc
/usr/lib/python3.6/site-packages/nine/decorator.py
/usr/lib/python3.6/site-packages/nine/test_nine.py
/usr/share/doc/python3-nine
/usr/share/doc/python3-nine/README.rst
/usr/share/licenses/python3-nine
/usr/share/licenses/python3-nine/LICENSE.rst

References

Summary

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