How To Install python2-wheel on Rocky Linux 8

In this tutorial we learn how to install python2-wheel on Rocky Linux 8. python2-wheel is Built-package format for Python

Introduction

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

What is python2-wheel

A built-package format for Python. A wheel is a ZIP-format archive with a specially formatted filename and the .whl extension. It is designed to contain all the files for a PEP 376 compatible install in a way that is very close to the on-disk format. Python 2 version.

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

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

sudo dnf -y install python2-wheel

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

sudo yum -y install python2-wheel

How To Uninstall python2-wheel on Rocky Linux 8

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

sudo dnf remove python2-wheel

python2-wheel Package Contents on Rocky Linux 8

/usr/bin/wheel-2
/usr/bin/wheel-2.7
/usr/lib/python2.7/site-packages/wheel
/usr/lib/python2.7/site-packages/wheel-0.31.1-py2.7.egg-info
/usr/lib/python2.7/site-packages/wheel-0.31.1-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/wheel-0.31.1-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/wheel-0.31.1-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/wheel-0.31.1-py2.7.egg-info/entry_points.txt
/usr/lib/python2.7/site-packages/wheel-0.31.1-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/wheel-0.31.1-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/wheel-0.31.1-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/wheel/__init__.py
/usr/lib/python2.7/site-packages/wheel/__init__.pyc
/usr/lib/python2.7/site-packages/wheel/__init__.pyo
/usr/lib/python2.7/site-packages/wheel/__main__.py
/usr/lib/python2.7/site-packages/wheel/__main__.pyc
/usr/lib/python2.7/site-packages/wheel/__main__.pyo
/usr/lib/python2.7/site-packages/wheel/archive.py
/usr/lib/python2.7/site-packages/wheel/archive.pyc
/usr/lib/python2.7/site-packages/wheel/archive.pyo
/usr/lib/python2.7/site-packages/wheel/bdist_wheel.py
/usr/lib/python2.7/site-packages/wheel/bdist_wheel.pyc
/usr/lib/python2.7/site-packages/wheel/bdist_wheel.pyo
/usr/lib/python2.7/site-packages/wheel/egg2wheel.py
/usr/lib/python2.7/site-packages/wheel/egg2wheel.pyc
/usr/lib/python2.7/site-packages/wheel/egg2wheel.pyo
/usr/lib/python2.7/site-packages/wheel/install.py
/usr/lib/python2.7/site-packages/wheel/install.pyc
/usr/lib/python2.7/site-packages/wheel/install.pyo
/usr/lib/python2.7/site-packages/wheel/metadata.py
/usr/lib/python2.7/site-packages/wheel/metadata.pyc
/usr/lib/python2.7/site-packages/wheel/metadata.pyo
/usr/lib/python2.7/site-packages/wheel/paths.py
/usr/lib/python2.7/site-packages/wheel/paths.pyc
/usr/lib/python2.7/site-packages/wheel/paths.pyo
/usr/lib/python2.7/site-packages/wheel/pep425tags.py
/usr/lib/python2.7/site-packages/wheel/pep425tags.pyc
/usr/lib/python2.7/site-packages/wheel/pep425tags.pyo
/usr/lib/python2.7/site-packages/wheel/pkginfo.py
/usr/lib/python2.7/site-packages/wheel/pkginfo.pyc
/usr/lib/python2.7/site-packages/wheel/pkginfo.pyo
/usr/lib/python2.7/site-packages/wheel/tool
/usr/lib/python2.7/site-packages/wheel/tool/__init__.py
/usr/lib/python2.7/site-packages/wheel/tool/__init__.pyc
/usr/lib/python2.7/site-packages/wheel/tool/__init__.pyo
/usr/lib/python2.7/site-packages/wheel/util.py
/usr/lib/python2.7/site-packages/wheel/util.pyc
/usr/lib/python2.7/site-packages/wheel/util.pyo
/usr/lib/python2.7/site-packages/wheel/wininst2wheel.py
/usr/lib/python2.7/site-packages/wheel/wininst2wheel.pyc
/usr/lib/python2.7/site-packages/wheel/wininst2wheel.pyo
/usr/share/doc/python2-wheel
/usr/share/doc/python2-wheel/CHANGES.txt
/usr/share/doc/python2-wheel/README.rst
/usr/share/licenses/python2-wheel
/usr/share/licenses/python2-wheel/LICENSE.txt

References

Summary

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