How To Install python3-certifi on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-certifi
on Rocky Linux 8.
What is python3-certifi
Certifi is a carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts. It has been extracted from the Requests project. Please note that this Fedora package does not actually include a certificate collection at all. It reads the system shared certificate trust collection instead. For more details on this system, see the ca-certificates package. This package provides the Python 3 certifi library.
We can use yum
or dnf
to install python3-certifi
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-certifi.
Install python3-certifi 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-certifi
using dnf
by running the following command:
sudo dnf -y install python3-certifi
Install python3-certifi 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-certifi
using yum
by running the following command:
sudo yum -y install python3-certifi
How To Uninstall python3-certifi on Rocky Linux 8
To uninstall only the python3-certifi
package we can use the following command:
sudo dnf remove python3-certifi
python3-certifi Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/certifi
/usr/lib/python3.6/site-packages/certifi-2018.10.15-py3.6.egg-info
/usr/lib/python3.6/site-packages/certifi-2018.10.15-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/certifi-2018.10.15-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/certifi-2018.10.15-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/certifi-2018.10.15-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/certifi-2018.10.15-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/certifi/__init__.py
/usr/lib/python3.6/site-packages/certifi/__main__.py
/usr/lib/python3.6/site-packages/certifi/__pycache__
/usr/lib/python3.6/site-packages/certifi/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certifi/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/certifi/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certifi/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/certifi/__pycache__/core.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/certifi/__pycache__/core.cpython-36.pyc
/usr/lib/python3.6/site-packages/certifi/core.py
/usr/share/doc/python3-certifi
/usr/share/doc/python3-certifi/README.rst
/usr/share/licenses/python3-certifi
/usr/share/licenses/python3-certifi/LICENSE
References
Summary
In this tutorial we learn how to install python3-certifi
on Rocky Linux 8 using yum and dnf.