How To Install perl-Crypt-Cracklib on AlmaLinux 8

In this tutorial we learn how to install perl-Crypt-Cracklib in AlmaLinux 8. perl-Crypt-Cracklib is Crypt-Cracklib - Perl interface to Alec Muffett’s Cracklib

Introduction

In this tutorial we learn how to install perl-Crypt-Cracklib on AlmaLinux 8.

What is perl-Crypt-Cracklib

This module providers interaction with the system cracklib libraries.

We can use yum or dnf to install perl-Crypt-Cracklib on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Crypt-Cracklib.

Install perl-Crypt-Cracklib on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Crypt-Cracklib using dnf by running the following command:

sudo dnf -y install perl-Crypt-Cracklib

Install perl-Crypt-Cracklib on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Crypt-Cracklib using yum by running the following command:

sudo yum -y install perl-Crypt-Cracklib

How To Uninstall perl-Crypt-Cracklib on AlmaLinux 8

To uninstall only the perl-Crypt-Cracklib package we can use the following command:

sudo dnf remove perl-Crypt-Cracklib

References

Summary

In this tutorial we learn how to install perl-Crypt-Cracklib on AlmaLinux 8 using yum and dnf.