How To Install python3-six on Fedora 36

In this tutorial we learn how to install python3-six in Fedora 36. python3-six is Python 2 and 3 compatibility utilities

Introduction

In this tutorial we learn how to install python3-six on Fedora 36.

What is python3-six

Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions.

We can use yum or dnf to install python3-six on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-six.

Install python3-six on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-six using dnf by running the following command:

sudo dnf -y install python3-six

Install python3-six on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-six using yum by running the following command:

sudo yum -y install python3-six

How To Uninstall python3-six on Fedora 36

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

sudo dnf remove python3-six

python3-six Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/__pycache__/six.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/__pycache__/six.cpython-310.pyc
/usr/lib/python3.10/site-packages/six-1.16.0.dist-info
/usr/lib/python3.10/site-packages/six-1.16.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/six-1.16.0.dist-info/LICENSE
/usr/lib/python3.10/site-packages/six-1.16.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/six-1.16.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/six-1.16.0.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/six.py
/usr/share/doc/python3-six
/usr/share/doc/python3-six/README.rst
/usr/share/doc/python3-six/index.rst
/usr/share/licenses/python3-six
/usr/share/licenses/python3-six/LICENSE

References

Summary

In this tutorial we learn how to install python3-six on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).