How To Install python3-distlib on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-distlib
on Rocky Linux 8.
What is python3-distlib
Distlib contains the implementations of the packaging PEPs and other low-level features which relate to packaging, distribution and deployment of Python software. If Distlib can be made genuinely useful, then it is possible for third-party packaging tools to transition to using it. Their developers and users then benefit from standardised implementation of low-level functions, time saved by not having to reinvent wheels, and improved interoperability between tools.
We can use yum
or dnf
to install python3-distlib
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-distlib.
Install python3-distlib 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 python3-distlib
using dnf
by running the following command:
sudo dnf -y install python3-distlib
Install python3-distlib 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 python3-distlib
using yum
by running the following command:
sudo yum -y install python3-distlib
How To Uninstall python3-distlib on Rocky Linux 8
To uninstall only the python3-distlib
package we can use the following command:
sudo dnf remove python3-distlib
python3-distlib Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/distlib
/usr/lib/python3.6/site-packages/distlib-0.3.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/distlib/__init__.py
/usr/lib/python3.6/site-packages/distlib/__pycache__
/usr/lib/python3.6/site-packages/distlib/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/database.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/database.cpython-36.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/index.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/index.cpython-36.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/locators.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/locators.cpython-36.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/manifest.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/manifest.cpython-36.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/markers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/markers.cpython-36.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/metadata.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/metadata.cpython-36.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/resources.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/resources.cpython-36.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/scripts.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/scripts.cpython-36.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/version.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/version.cpython-36.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/wheel.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/distlib/__pycache__/wheel.cpython-36.pyc
/usr/lib/python3.6/site-packages/distlib/compat.py
/usr/lib/python3.6/site-packages/distlib/database.py
/usr/lib/python3.6/site-packages/distlib/index.py
/usr/lib/python3.6/site-packages/distlib/locators.py
/usr/lib/python3.6/site-packages/distlib/manifest.py
/usr/lib/python3.6/site-packages/distlib/markers.py
/usr/lib/python3.6/site-packages/distlib/metadata.py
/usr/lib/python3.6/site-packages/distlib/resources.py
/usr/lib/python3.6/site-packages/distlib/scripts.py
/usr/lib/python3.6/site-packages/distlib/util.py
/usr/lib/python3.6/site-packages/distlib/version.py
/usr/lib/python3.6/site-packages/distlib/wheel.py
/usr/share/doc/python3-distlib
/usr/share/doc/python3-distlib/README.rst
/usr/share/licenses/python3-distlib
/usr/share/licenses/python3-distlib/LICENSE.txt
References
Summary
In this tutorial we learn how to install python3-distlib
on Rocky Linux 8 using yum and dnf.