How To Install python-nss.x86_64 on Amazon Linux 2

In this tutorial we learn how to install python-nss.x86_64 in Amazon Linux 2. python-nss.x86_64 is Python bindings for Network Security Services (NSS)

Introduction

In this tutorial we learn how to install python-nss.x86_64 on Amazon Linux 2.

What is python-nss.x86_64

This package provides Python bindings for Network Security Services (NSS) and the Netscape Portable Runtime (NSPR). NSS is a set of libraries supporting security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards. Specific NSS implementations have been FIPS-140 certified.

We can use yum to install python-nss.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-nss.x86_64.

Install python-nss.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python-nss.x86_64 using yum by running the following command:

sudo yum -y install python-nss.x86_64

How To Uninstall python-nss.x86_64 on Amazon Linux 2

To uninstall only the python-nss.x86_64 package we can use the following command:

sudo yum remove python-nss.x86_64

python-nss.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/python2.7/site-packages/nss
/usr/lib64/python2.7/site-packages/nss/__init__.py
/usr/lib64/python2.7/site-packages/nss/__init__.pyc
/usr/lib64/python2.7/site-packages/nss/__init__.pyo
/usr/lib64/python2.7/site-packages/nss/error.so
/usr/lib64/python2.7/site-packages/nss/io.so
/usr/lib64/python2.7/site-packages/nss/nss.so
/usr/lib64/python2.7/site-packages/nss/ssl.so
/usr/lib64/python2.7/site-packages/python_nss-0.16.0-py2.7.egg-info
/usr/share/doc/python-nss-0.16.0/ChangeLog
/usr/share/doc/python-nss-0.16.0/LICENSE.gpl
/usr/share/doc/python-nss-0.16.0/LICENSE.lgpl
/usr/share/doc/python-nss-0.16.0/LICENSE.mpl
/usr/share/doc/python-nss-0.16.0/README

References

Summary

In this tutorial we learn how to install python-nss.x86_64 on Amazon Linux 2 using yum.