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

In this tutorial we learn how to install cracklib-dicts.x86_64 in Amazon Linux 2. cracklib-dicts.x86_64 is The standard CrackLib dictionaries

Introduction

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

What is cracklib-dicts.x86_64

The cracklib-dicts package includes the CrackLib dictionaries. CrackLib will need to use the dictionary appropriate to your system, which is normally put in /usr/share/dict/words. Cracklib-dicts also contains the utilities necessary for the creation of new dictionaries. If you are installing CrackLib, you should also install cracklib-dicts.

We can use yum to install cracklib-dicts.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-dicts.x86_64.

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

sudo yum -y install cracklib-dicts.x86_64

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

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

sudo yum remove cracklib-dicts.x86_64

cracklib-dicts.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/cracklib_dict.hwm
/usr/lib64/cracklib_dict.pwd
/usr/lib64/cracklib_dict.pwi
/usr/sbin/mkdict
/usr/sbin/packer
/usr/share/cracklib/cracklib-small.hwm
/usr/share/cracklib/cracklib-small.pwd
/usr/share/cracklib/cracklib-small.pwi
/usr/share/cracklib/pw_dict.hwm
/usr/share/cracklib/pw_dict.pwd
/usr/share/cracklib/pw_dict.pwi

References

Summary

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