How To Install cracklib-dicts on Fedora 36
Introduction
In this tutorial we learn how to install cracklib-dicts
on Fedora 36.
What is cracklib-dicts
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
or dnf
to install cracklib-dicts
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cracklib-dicts.
Install cracklib-dicts on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install cracklib-dicts
using dnf
by running the following command:
sudo dnf -y install cracklib-dicts
Install cracklib-dicts on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install cracklib-dicts
using yum
by running the following command:
sudo yum -y install cracklib-dicts
How To Uninstall cracklib-dicts on Fedora 36
To uninstall only the cracklib-dicts
package we can use the following command:
sudo dnf remove cracklib-dicts
cracklib-dicts Package Contents on Fedora 36
/usr/lib64/cracklib_dict.hwm
/usr/lib64/cracklib_dict.pwd
/usr/lib64/cracklib_dict.pwi
/usr/sbin/mkdict
/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
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).