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

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

Introduction

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

What is python2-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 2 version.

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

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

sudo dnf -y install python2-service-identity

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

sudo yum -y install python2-service-identity

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

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

sudo dnf remove python2-service-identity

python2-service-identity Package Contents on Rocky Linux 8

/usr/lib/python2.7/site-packages/service_identity
/usr/lib/python2.7/site-packages/service_identity-18.1.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/service_identity-18.1.0-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/service_identity-18.1.0-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/service_identity-18.1.0-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/service_identity-18.1.0-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/service_identity-18.1.0-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/service_identity-18.1.0-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/service_identity/__init__.py
/usr/lib/python2.7/site-packages/service_identity/__init__.pyc
/usr/lib/python2.7/site-packages/service_identity/__init__.pyo
/usr/lib/python2.7/site-packages/service_identity/_common.py
/usr/lib/python2.7/site-packages/service_identity/_common.pyc
/usr/lib/python2.7/site-packages/service_identity/_common.pyo
/usr/lib/python2.7/site-packages/service_identity/_compat.py
/usr/lib/python2.7/site-packages/service_identity/_compat.pyc
/usr/lib/python2.7/site-packages/service_identity/_compat.pyo
/usr/lib/python2.7/site-packages/service_identity/cryptography.py
/usr/lib/python2.7/site-packages/service_identity/cryptography.pyc
/usr/lib/python2.7/site-packages/service_identity/cryptography.pyo
/usr/lib/python2.7/site-packages/service_identity/exceptions.py
/usr/lib/python2.7/site-packages/service_identity/exceptions.pyc
/usr/lib/python2.7/site-packages/service_identity/exceptions.pyo
/usr/lib/python2.7/site-packages/service_identity/pyopenssl.py
/usr/lib/python2.7/site-packages/service_identity/pyopenssl.pyc
/usr/lib/python2.7/site-packages/service_identity/pyopenssl.pyo
/usr/share/doc/python2-service-identity
/usr/share/doc/python2-service-identity/README.rst
/usr/share/licenses/python2-service-identity
/usr/share/licenses/python2-service-identity/LICENSE

References

Summary

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