How To Install python2-multilib on Rocky Linux 8

In this tutorial we learn how to install python2-multilib on Rocky Linux 8. python2-multilib is Configuration files for python-multilib

Introduction

In this tutorial we learn how to install python2-multilib on Rocky Linux 8.

What is python2-multilib

A Python module that supports several multilib “methods” useful for determining if a 32-bit package should be included with its 64-bit analogue in a compose.

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

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

sudo dnf -y install python2-multilib

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

sudo yum -y install python2-multilib

How To Uninstall python2-multilib on Rocky Linux 8

To uninstall only the python2-multilib package we can use the following command:

sudo dnf remove python2-multilib

python2-multilib Package Contents on Rocky Linux 8

/usr/lib/python2.7/site-packages/multilib
/usr/lib/python2.7/site-packages/multilib/__init__.py
/usr/lib/python2.7/site-packages/multilib/__init__.pyc
/usr/lib/python2.7/site-packages/multilib/__init__.pyo
/usr/lib/python2.7/site-packages/multilib/fakepo.py
/usr/lib/python2.7/site-packages/multilib/fakepo.pyc
/usr/lib/python2.7/site-packages/multilib/fakepo.pyo
/usr/lib/python2.7/site-packages/multilib/multilib.py
/usr/lib/python2.7/site-packages/multilib/multilib.pyc
/usr/lib/python2.7/site-packages/multilib/multilib.pyo
/usr/lib/python2.7/site-packages/python_multilib-1.2-py2.7.egg-info
/usr/lib/python2.7/site-packages/python_multilib-1.2-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/python_multilib-1.2-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/python_multilib-1.2-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/python_multilib-1.2-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/python_multilib-1.2-py2.7.egg-info/top_level.txt
/usr/share/doc/python2-multilib
/usr/share/doc/python2-multilib/README.md
/usr/share/licenses/python2-multilib
/usr/share/licenses/python2-multilib/LICENSE

References

Summary

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