How To Install libcrypt-nss.i686 on Amazon Linux 2

In this tutorial we learn how to install libcrypt-nss.i686 in Amazon Linux 2. libcrypt-nss.i686 is Password hashing library (NSS version)

Introduction

In this tutorial we learn how to install libcrypt-nss.i686 on Amazon Linux 2.

What is libcrypt-nss.i686

This package provides the crypt function, which implements password hashing. The cryptographic algorithm implementations are provided by the low-level NSS libraries.

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

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

sudo yum -y install libcrypt-nss.i686

How To Uninstall libcrypt-nss.i686 on Amazon Linux 2

To uninstall only the libcrypt-nss.i686 package we can use the following command:

sudo yum remove libcrypt-nss.i686

libcrypt-nss.i686 Package Contents on Amazon Linux 2

/lib/libcrypt-nss-2.26.so
/lib/libcrypt.so.1

References

Summary

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