How To Install python2-pip-wheel on Rocky Linux 8
Introduction
In this tutorial we learn how to install python2-pip-wheel
on Rocky Linux 8.
What is python2-pip-wheel
A Python wheel of pip to use with venv.
We can use yum
or dnf
to install python2-pip-wheel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python2-pip-wheel.
Install python2-pip-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-pip-wheel
using dnf
by running the following command:
sudo dnf -y install python2-pip-wheel
Install python2-pip-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-pip-wheel
using yum
by running the following command:
sudo yum -y install python2-pip-wheel
How To Uninstall python2-pip-wheel on Rocky Linux 8
To uninstall only the python2-pip-wheel
package we can use the following command:
sudo dnf remove python2-pip-wheel
python2-pip-wheel Package Contents on Rocky Linux 8
/usr/share/licenses/python2-pip-wheel
/usr/share/licenses/python2-pip-wheel/LICENSE.txt
/usr/share/python2-wheels
/usr/share/python2-wheels/pip-9.0.3-py2.py3-none-any.whl
References
Summary
In this tutorial we learn how to install python2-pip-wheel
on Rocky Linux 8 using yum and dnf.