How To Install python3-service-identity on Fedora 36

In this tutorial we learn how to install python3-service-identity in Fedora 36. python3-service-identity is Service identity verification for pyOpenSSL

Introduction

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

What is python3-service-identity

Use this package if you use pyOpenSSL and don’t want to be MITMed, or if you want to verify that a PyCA cryptography certificate is valid for a certain hostname or IP address. service-identity aspires to give you all the tools you need for verifying whether a certificate is valid for the intended purposes. In the simplest case, this means host name verification. However, service-identity implements RFC 6125 fully and plans to add other relevant RFCs too.

We can use yum or dnf to install python3-service-identity on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-service-identity.

Install python3-service-identity 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-service-identity using dnf by running the following command:

sudo dnf -y install python3-service-identity

Install python3-service-identity 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-service-identity using yum by running the following command:

sudo yum -y install python3-service-identity

How To Uninstall python3-service-identity on Fedora 36

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

sudo dnf remove python3-service-identity

python3-service-identity Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/service_identity
/usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info
/usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info/AUTHORS.rst
/usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info/LICENSE
/usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/service_identity/__init__.py
/usr/lib/python3.10/site-packages/service_identity/__pycache__
/usr/lib/python3.10/site-packages/service_identity/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/service_identity/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/service_identity/__pycache__/_common.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/service_identity/__pycache__/_common.cpython-310.pyc
/usr/lib/python3.10/site-packages/service_identity/__pycache__/_compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/service_identity/__pycache__/_compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/service_identity/__pycache__/cryptography.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/service_identity/__pycache__/cryptography.cpython-310.pyc
/usr/lib/python3.10/site-packages/service_identity/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/service_identity/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/service_identity/__pycache__/pyopenssl.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/service_identity/__pycache__/pyopenssl.cpython-310.pyc
/usr/lib/python3.10/site-packages/service_identity/_common.py
/usr/lib/python3.10/site-packages/service_identity/_compat.py
/usr/lib/python3.10/site-packages/service_identity/cryptography.py
/usr/lib/python3.10/site-packages/service_identity/exceptions.py
/usr/lib/python3.10/site-packages/service_identity/pyopenssl.py
/usr/share/doc/python3-service-identity
/usr/share/doc/python3-service-identity/README.rst

References

Summary

In this tutorial we learn how to install python3-service-identity on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).