How To Install python3-certifi on Fedora 36

In this tutorial we learn how to install python3-certifi in Fedora 36. python3-certifi is Python package for providing Mozilla’s CA Bundle

Introduction

In this tutorial we learn how to install python3-certifi on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-certifi.

Install python3-certifi on Fedora 36 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 Fedora 36 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 Fedora 36

To uninstall only the python3-certifi package we can use the following command:

sudo dnf remove python3-certifi

python3-certifi Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/certifi
/usr/lib/python3.10/site-packages/certifi-2021.10.8-py3.10.egg-info
/usr/lib/python3.10/site-packages/certifi-2021.10.8-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/certifi-2021.10.8-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/certifi-2021.10.8-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/certifi-2021.10.8-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/certifi-2021.10.8-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/certifi/__init__.py
/usr/lib/python3.10/site-packages/certifi/__main__.py
/usr/lib/python3.10/site-packages/certifi/__pycache__
/usr/lib/python3.10/site-packages/certifi/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/certifi/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/certifi/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/certifi/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/certifi/__pycache__/core.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/certifi/__pycache__/core.cpython-310.pyc
/usr/lib/python3.10/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).