How To Install python3-service-identity on Rocky Linux 8

In this tutorial we learn how to install python3-service-identity on Rocky Linux 8. python3-service-identity is Service identity verification for pyOpenSSL

Introduction

In this tutorial we learn how to install python3-service-identity on Rocky Linux 8.

What is python3-service-identity

Service Identity Verification for pyOpenSSL. TL;DR 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. Python 3 version.

We can use yum or dnf to install python3-service-identity on Rocky Linux 8. 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 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-service-identity using dnf by running the following command:

sudo dnf -y install python3-service-identity

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

sudo yum -y install python3-service-identity

How To Uninstall python3-service-identity on Rocky Linux 8

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 Rocky Linux 8

/usr/lib/python3.6/site-packages/service_identity
/usr/lib/python3.6/site-packages/service_identity-18.1.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/service_identity-18.1.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/service_identity-18.1.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/service_identity-18.1.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/service_identity-18.1.0-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/service_identity-18.1.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/service_identity-18.1.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/service_identity/__init__.py
/usr/lib/python3.6/site-packages/service_identity/__pycache__
/usr/lib/python3.6/site-packages/service_identity/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/service_identity/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/service_identity/__pycache__/_common.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/service_identity/__pycache__/_common.cpython-36.pyc
/usr/lib/python3.6/site-packages/service_identity/__pycache__/_compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/service_identity/__pycache__/_compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/service_identity/__pycache__/cryptography.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/service_identity/__pycache__/cryptography.cpython-36.pyc
/usr/lib/python3.6/site-packages/service_identity/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/service_identity/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/service_identity/__pycache__/pyopenssl.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/service_identity/__pycache__/pyopenssl.cpython-36.pyc
/usr/lib/python3.6/site-packages/service_identity/_common.py
/usr/lib/python3.6/site-packages/service_identity/_compat.py
/usr/lib/python3.6/site-packages/service_identity/cryptography.py
/usr/lib/python3.6/site-packages/service_identity/exceptions.py
/usr/lib/python3.6/site-packages/service_identity/pyopenssl.py
/usr/share/doc/python3-service-identity
/usr/share/doc/python3-service-identity/README.rst
/usr/share/licenses/python3-service-identity
/usr/share/licenses/python3-service-identity/LICENSE

References

Summary

In this tutorial we learn how to install python3-service-identity on Rocky Linux 8 using yum and dnf.