How To Install python38-six on Rocky Linux 8

In this tutorial we learn how to install python38-six on Rocky Linux 8. python38-six is Python 2 and 3 compatibility utilities

Introduction

In this tutorial we learn how to install python38-six on Rocky Linux 8.

What is python38-six

python-six provides simple utilities for wrapping over differences between Python 2 and Python 3. Python 3 version.

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

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

sudo dnf -y install python38-six

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

sudo yum -y install python38-six

How To Uninstall python38-six on Rocky Linux 8

To uninstall only the python38-six package we can use the following command:

sudo dnf remove python38-six

python38-six Package Contents on Rocky Linux 8

/usr/lib/python3.8/site-packages/__pycache__/six.cpython-38.opt-1.pyc
/usr/lib/python3.8/site-packages/__pycache__/six.cpython-38.pyc
/usr/lib/python3.8/site-packages/six-1.12.0.dist-info
/usr/lib/python3.8/site-packages/six-1.12.0.dist-info/INSTALLER
/usr/lib/python3.8/site-packages/six-1.12.0.dist-info/LICENSE
/usr/lib/python3.8/site-packages/six-1.12.0.dist-info/METADATA
/usr/lib/python3.8/site-packages/six-1.12.0.dist-info/RECORD
/usr/lib/python3.8/site-packages/six-1.12.0.dist-info/WHEEL
/usr/lib/python3.8/site-packages/six-1.12.0.dist-info/top_level.txt
/usr/lib/python3.8/site-packages/six.py
/usr/share/doc/python38-six
/usr/share/doc/python38-six/README.rst
/usr/share/doc/python38-six/index.rst
/usr/share/licenses/python38-six
/usr/share/licenses/python38-six/LICENSE

References

Summary

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