How To Install perl-Params-Validate on Rocky Linux 8

In this tutorial we learn how to install perl-Params-Validate on Rocky Linux 8. perl-Params-Validate is Params-Validate Perl module

Introduction

In this tutorial we learn how to install perl-Params-Validate on Rocky Linux 8.

What is perl-Params-Validate

The Params call parameters to an arbitrary level of specificity. At the simplest level, it is capable of validating the required parameters were given and that no unspecified additional parameters were passed in. It is also capable of determining that a parameter is of a specific type, that it is an object of a certain class hierarchy, that it possesses certain methods, or applying validation callbacks to arguments.

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

Install perl-Params-Validate on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Params-Validate

Install perl-Params-Validate on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Params-Validate

How To Uninstall perl-Params-Validate on Rocky Linux 8

To uninstall only the perl-Params-Validate package we can use the following command:

sudo dnf remove perl-Params-Validate

perl-Params-Validate Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/46
/usr/lib/.build-id/46/622bca5754fef8e996b634da13498a3587bcac
/usr/lib64/perl5/vendor_perl/Params
/usr/lib64/perl5/vendor_perl/Params/Validate
/usr/lib64/perl5/vendor_perl/Params/Validate.pm
/usr/lib64/perl5/vendor_perl/Params/Validate/Constants.pm
/usr/lib64/perl5/vendor_perl/Params/Validate/PP.pm
/usr/lib64/perl5/vendor_perl/Params/Validate/XS.pm
/usr/lib64/perl5/vendor_perl/Params/ValidatePP.pm
/usr/lib64/perl5/vendor_perl/Params/ValidateXS.pm
/usr/lib64/perl5/vendor_perl/auto/Params
/usr/lib64/perl5/vendor_perl/auto/Params/Validate
/usr/lib64/perl5/vendor_perl/auto/Params/Validate/XS
/usr/lib64/perl5/vendor_perl/auto/Params/Validate/XS/XS.bs
/usr/lib64/perl5/vendor_perl/auto/Params/Validate/XS/XS.so
/usr/share/doc/perl-Params-Validate
/usr/share/doc/perl-Params-Validate/Changes
/usr/share/doc/perl-Params-Validate/TODO
/usr/share/licenses/perl-Params-Validate
/usr/share/licenses/perl-Params-Validate/LICENSE
/usr/share/man/man3/Params::Validate.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Params-Validate on Rocky Linux 8 using yum and dnf.