How To Install libcrypt.x86_64 on Amazon Linux 2

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

Introduction

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

What is libcrypt.x86_64

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.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libcrypt.x86_64.

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

sudo yum -y install libcrypt.x86_64

How To Uninstall libcrypt.x86_64 on Amazon Linux 2

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

sudo yum remove libcrypt.x86_64

libcrypt.x86_64 Package Contents on Amazon Linux 2

/lib64/libcrypt-2.26.so
/lib64/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.x86_64 on Amazon Linux 2 using yum.