How To Install perl-Data-Password on CentOS 7

In this tutorial we learn how to install perl-Data-Password on CentOS 7. perl-Data-Password is Perl extension for assessing password quality

Introduction

In this tutorial we learn how to install perl-Data-Password on CentOS 7.

What is perl-Data-Password

This modules checks potential passwords for crackability. It checks that the password is in the appropriate length, that it has enough character groups, that it does not contain the same chars repeatedly or ascending or descending characters, or characters close to each other in the keyboard. It will also attempt to search the ispell word file for existence of whole words.

We can use yum or dnf to install perl-Data-Password on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Data-Password.

Install perl-Data-Password on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install perl-Data-Password

Install perl-Data-Password on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install perl-Data-Password

How To Uninstall perl-Data-Password on CentOS 7

To uninstall only the perl-Data-Password package we can use the following command:

sudo dnf remove perl-Data-Password

References

Summary

In this tutorial we learn how to install perl-Data-Password on CentOS 7 using yum and dnf.