How To Install cracklib-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install cracklib-devel.x86_64 in Amazon Linux 2. cracklib-devel.x86_64 is Development files needed for building applications which use

Introduction

In this tutorial we learn how to install cracklib-devel.x86_64 on Amazon Linux 2.

What is cracklib-devel.x86_64

The cracklib-devel package contains the header files and libraries needed for compiling applications which use cracklib.

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

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

sudo yum -y install cracklib-devel.x86_64

How To Uninstall cracklib-devel.x86_64 on Amazon Linux 2

To uninstall only the cracklib-devel.x86_64 package we can use the following command:

sudo yum remove cracklib-devel.x86_64

cracklib-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/crack.h
/usr/include/packer.h
/usr/lib64/libcrack.so
/usr/share/man/man3/FascistCheck.3.gz

References

Summary

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