How To Install libcrypt.i686 on Amazon Linux 2

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

Introduction

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

What is libcrypt.i686

This package provides the crypt function, which implements password hashing. The glibc implementation of the cryptographic algorithms is used by this package.

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

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

sudo yum -y install libcrypt.i686

How To Uninstall libcrypt.i686 on Amazon Linux 2

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

sudo yum remove libcrypt.i686

libcrypt.i686 Package Contents on Amazon Linux 2

/lib/libcrypt-2.26.so
/lib/libcrypt.so.1
/usr/share/doc/libcrypt-2.26
/usr/share/doc/libcrypt-2.26/README.ufc-crypt

References

Summary

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