How To Install nss.x86_64 on Amazon Linux 2

In this tutorial we learn how to install nss.x86_64 in Amazon Linux 2. nss.x86_64 is Network Security Services

Introduction

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

What is nss.x86_64

Network Security Services (NSS) is a set of libraries designed to support cross-platform development of 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.

We can use yum to install 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 nss.x86_64.

Install 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 nss.x86_64 using yum by running the following command:

sudo yum -y install nss.x86_64

How To Uninstall nss.x86_64 on Amazon Linux 2

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

sudo yum remove nss.x86_64

nss.x86_64 Package Contents on Amazon Linux 2

/etc/pki/nss-legacy
/etc/pki/nss-legacy/nss-rhel7.config
/etc/pki/nssdb
/etc/pki/nssdb/cert8.db
/etc/pki/nssdb/cert9.db
/etc/pki/nssdb/key3.db
/etc/pki/nssdb/key4.db
/etc/pki/nssdb/pkcs11.txt
/etc/pki/nssdb/secmod.db
/usr/lib64/libnss3.so
/usr/lib64/libnssckbi.so
/usr/lib64/libsmime3.so
/usr/lib64/libssl3.so
/usr/lib64/nss/libnssckbi.so
/usr/share/man/man5/cert8.db.5.gz
/usr/share/man/man5/cert9.db.5.gz
/usr/share/man/man5/key3.db.5.gz
/usr/share/man/man5/key4.db.5.gz
/usr/share/man/man5/pkcs11.txt.5.gz
/usr/share/man/man5/secmod.db.5.gz

References

Summary

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