How To Install libpwquality on Fedora 34

libpwquality is A library for password generation and password quality checking A library for password generation and password quality checking

Introduction

In this tutorial we learn how to install libpwquality on Fedora 34.

What is libpwquality

This is a library for password quality checks and generation of random passwords that pass the checks. This library uses the cracklib and cracklib dictionaries to perform some of the checks. libpwquality 1.4.4 2.fc34 i686 105 k libpwquality-1.4.4-2.fc34.src.rpm fedora A library for password generation and password quality checking https BSD or GPLv2+ This is a library for password quality checks and generation of random passwords that pass the checks. This library uses the cracklib and cracklib dictionaries to perform some of the checks.

We can use yum or dnf to install libpwquality on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libpwquality.

Install libpwquality on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libpwquality

Install libpwquality on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libpwquality using yum by running the following command:

sudo yum -y install libpwquality

How To Uninstall libpwquality on Fedora 34

To uninstall only the libpwquality package we can use the following command:

sudo dnf remove libpwquality

libpwquality Package Contents on Fedora 34

/etc/security/pwquality.conf
/etc/security/pwquality.conf.d
/usr/bin/pwmake
/usr/bin/pwscore
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/138235ef2cdeafefd39f5083a92f270d80d22b
/usr/lib/.build-id/24
/usr/lib/.build-id/24/dc6325f179ddb038a9e2d4a1958d7328df0f61
/usr/lib/.build-id/54
/usr/lib/.build-id/54/76a07c79e760d67735b2debbdc4866a8df4e7b
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/b4234a8c8468b1a02907bf6d2cc8711d5e5e08
/usr/lib/libpwquality.so.1
/usr/lib/libpwquality.so.1.0.2
/usr/lib/security/pam_pwquality.so
/usr/share/doc/libpwquality
/usr/share/doc/libpwquality/AUTHORS
/usr/share/doc/libpwquality/NEWS
/usr/share/doc/libpwquality/README
/usr/share/licenses/libpwquality
/usr/share/licenses/libpwquality/COPYING
/usr/share/locale/ar/LC_MESSAGES/libpwquality.mo
/usr/share/locale/as/LC_MESSAGES/libpwquality.mo
/usr/share/locale/az/LC_MESSAGES/libpwquality.mo
/usr/share/locale/bg/LC_MESSAGES/libpwquality.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ca/LC_MESSAGES/libpwquality.mo
/usr/share/locale/cs/LC_MESSAGES/libpwquality.mo
/usr/share/locale/da/LC_MESSAGES/libpwquality.mo
/usr/share/locale/de/LC_MESSAGES/libpwquality.mo
/usr/share/locale/es/LC_MESSAGES/libpwquality.mo
/usr/share/locale/eu/LC_MESSAGES/libpwquality.mo
/usr/share/locale/fa/LC_MESSAGES/libpwquality.mo
/usr/share/locale/fi/LC_MESSAGES/libpwquality.mo
/usr/share/locale/fr/LC_MESSAGES/libpwquality.mo
/usr/share/locale/fur/LC_MESSAGES/libpwquality.mo
/usr/share/locale/gu/LC_MESSAGES/libpwquality.mo
/usr/share/locale/he/LC_MESSAGES/libpwquality.mo
/usr/share/locale/hi/LC_MESSAGES/libpwquality.mo
/usr/share/locale/hu/LC_MESSAGES/libpwquality.mo
/usr/share/locale/id/LC_MESSAGES/libpwquality.mo
/usr/share/locale/it/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ja/LC_MESSAGES/libpwquality.mo
/usr/share/locale/kk/LC_MESSAGES/libpwquality.mo
/usr/share/locale/km/LC_MESSAGES/libpwquality.mo
/usr/share/locale/kn/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ko/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ml/LC_MESSAGES/libpwquality.mo
/usr/share/locale/mr/LC_MESSAGES/libpwquality.mo
/usr/share/locale/nb/LC_MESSAGES/libpwquality.mo
/usr/share/locale/nl/LC_MESSAGES/libpwquality.mo
/usr/share/locale/or/LC_MESSAGES/libpwquality.mo
/usr/share/locale/pa/LC_MESSAGES/libpwquality.mo
/usr/share/locale/pl/LC_MESSAGES/libpwquality.mo
/usr/share/locale/pt/LC_MESSAGES/libpwquality.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ru/LC_MESSAGES/libpwquality.mo
/usr/share/locale/si/LC_MESSAGES/libpwquality.mo
/usr/share/locale/sk/LC_MESSAGES/libpwquality.mo
/usr/share/locale/sq/LC_MESSAGES/libpwquality.mo
/usr/share/locale/sr/LC_MESSAGES/libpwquality.mo
/usr/share/locale/sr@latin/LC_MESSAGES/libpwquality.mo
/usr/share/locale/sv/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ta/LC_MESSAGES/libpwquality.mo
/usr/share/locale/te/LC_MESSAGES/libpwquality.mo
/usr/share/locale/tr/LC_MESSAGES/libpwquality.mo
/usr/share/locale/uk/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ur/LC_MESSAGES/libpwquality.mo
/usr/share/locale/vi/LC_MESSAGES/libpwquality.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libpwquality.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libpwquality.mo
/usr/share/locale/zu/LC_MESSAGES/libpwquality.mo
/usr/share/man/man1/pwmake.1.gz
/usr/share/man/man1/pwscore.1.gz
/usr/share/man/man5/pwquality.conf.5.gz
/usr/share/man/man8/pam_pwquality.8.gz
/etc/security/pwquality.conf
/etc/security/pwquality.conf.d
/usr/bin/pwmake
/usr/bin/pwscore
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/0094bbf17c5eb57332e524fd6ab22c108103d6
/usr/lib/.build-id/41
/usr/lib/.build-id/41/900472887dd30ace7dcf5bd8bcb68bd4407230
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/86da02c8a1b99cdfba4a2d58aac0cea460fc44
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/d3a24152159d39a58d44e2e0726e871e92e986
/usr/lib64/libpwquality.so.1
/usr/lib64/libpwquality.so.1.0.2
/usr/lib64/security/pam_pwquality.so
/usr/share/doc/libpwquality
/usr/share/doc/libpwquality/AUTHORS
/usr/share/doc/libpwquality/NEWS
/usr/share/doc/libpwquality/README
/usr/share/licenses/libpwquality
/usr/share/licenses/libpwquality/COPYING
/usr/share/locale/ar/LC_MESSAGES/libpwquality.mo
/usr/share/locale/as/LC_MESSAGES/libpwquality.mo
/usr/share/locale/az/LC_MESSAGES/libpwquality.mo
/usr/share/locale/bg/LC_MESSAGES/libpwquality.mo
/usr/share/locale/bn_IN/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ca/LC_MESSAGES/libpwquality.mo
/usr/share/locale/cs/LC_MESSAGES/libpwquality.mo
/usr/share/locale/da/LC_MESSAGES/libpwquality.mo
/usr/share/locale/de/LC_MESSAGES/libpwquality.mo
/usr/share/locale/es/LC_MESSAGES/libpwquality.mo
/usr/share/locale/eu/LC_MESSAGES/libpwquality.mo
/usr/share/locale/fa/LC_MESSAGES/libpwquality.mo
/usr/share/locale/fi/LC_MESSAGES/libpwquality.mo
/usr/share/locale/fr/LC_MESSAGES/libpwquality.mo
/usr/share/locale/fur/LC_MESSAGES/libpwquality.mo
/usr/share/locale/gu/LC_MESSAGES/libpwquality.mo
/usr/share/locale/he/LC_MESSAGES/libpwquality.mo
/usr/share/locale/hi/LC_MESSAGES/libpwquality.mo
/usr/share/locale/hu/LC_MESSAGES/libpwquality.mo
/usr/share/locale/id/LC_MESSAGES/libpwquality.mo
/usr/share/locale/it/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ja/LC_MESSAGES/libpwquality.mo
/usr/share/locale/kk/LC_MESSAGES/libpwquality.mo
/usr/share/locale/km/LC_MESSAGES/libpwquality.mo
/usr/share/locale/kn/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ko/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ml/LC_MESSAGES/libpwquality.mo
/usr/share/locale/mr/LC_MESSAGES/libpwquality.mo
/usr/share/locale/nb/LC_MESSAGES/libpwquality.mo
/usr/share/locale/nl/LC_MESSAGES/libpwquality.mo
/usr/share/locale/or/LC_MESSAGES/libpwquality.mo
/usr/share/locale/pa/LC_MESSAGES/libpwquality.mo
/usr/share/locale/pl/LC_MESSAGES/libpwquality.mo
/usr/share/locale/pt/LC_MESSAGES/libpwquality.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ru/LC_MESSAGES/libpwquality.mo
/usr/share/locale/si/LC_MESSAGES/libpwquality.mo
/usr/share/locale/sk/LC_MESSAGES/libpwquality.mo
/usr/share/locale/sq/LC_MESSAGES/libpwquality.mo
/usr/share/locale/sr/LC_MESSAGES/libpwquality.mo
/usr/share/locale/sr@latin/LC_MESSAGES/libpwquality.mo
/usr/share/locale/sv/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ta/LC_MESSAGES/libpwquality.mo
/usr/share/locale/te/LC_MESSAGES/libpwquality.mo
/usr/share/locale/tr/LC_MESSAGES/libpwquality.mo
/usr/share/locale/uk/LC_MESSAGES/libpwquality.mo
/usr/share/locale/ur/LC_MESSAGES/libpwquality.mo
/usr/share/locale/vi/LC_MESSAGES/libpwquality.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libpwquality.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libpwquality.mo
/usr/share/locale/zu/LC_MESSAGES/libpwquality.mo
/usr/share/man/man1/pwmake.1.gz
/usr/share/man/man1/pwscore.1.gz
/usr/share/man/man5/pwquality.conf.5.gz
/usr/share/man/man8/pam_pwquality.8.gz

References

Summary

In this tutorial we learn how to install libpwquality on Fedora 34 using yum and dnf.