How To Install cracklib-devel on Rocky Linux 8

In this tutorial we learn how to install cracklib-devel on Rocky Linux 8. cracklib-devel is Development files needed for building applications which use cracklib

Introduction

In this tutorial we learn how to install cracklib-devel on Rocky Linux 8.

What is cracklib-devel

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

We can use yum or dnf to install cracklib-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install cracklib-devel.

Install cracklib-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install cracklib-devel using dnf by running the following command:

sudo dnf -y install cracklib-devel

Install cracklib-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install cracklib-devel using yum by running the following command:

sudo yum -y install cracklib-devel

How To Uninstall cracklib-devel on Rocky Linux 8

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

sudo dnf remove cracklib-devel

cracklib-devel Package Contents on Rocky Linux 8

/usr/include/crack.h
/usr/include/packer.h
/usr/lib/libcrack.so
/usr/share/man/man3/FascistCheck.3.gz
/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 on Rocky Linux 8 using yum and dnf.