How To Install perl-Config-Validator on Rocky Linux 8

In this tutorial we learn how to install perl-Config-Validator on Rocky Linux 8. perl-Config-Validator is Schema based configuration validation

Introduction

In this tutorial we learn how to install perl-Config-Validator on Rocky Linux 8.

What is perl-Config-Validator

This module allows to perform schema based configuration validation.

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

Install perl-Config-Validator 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-Config-Validator using dnf by running the following command:

sudo dnf -y install perl-Config-Validator

Install perl-Config-Validator 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-Config-Validator using yum by running the following command:

sudo yum -y install perl-Config-Validator

How To Uninstall perl-Config-Validator on Rocky Linux 8

To uninstall only the perl-Config-Validator package we can use the following command:

sudo dnf remove perl-Config-Validator

perl-Config-Validator Package Contents on Rocky Linux 8

/usr/share/doc/perl-Config-Validator
/usr/share/doc/perl-Config-Validator/Changes
/usr/share/doc/perl-Config-Validator/README
/usr/share/doc/perl-Config-Validator/eg
/usr/share/doc/perl-Config-Validator/eg/README
/usr/share/doc/perl-Config-Validator/eg/ex1.pl
/usr/share/doc/perl-Config-Validator/eg/ex2.pl
/usr/share/doc/perl-Config-Validator/eg/ex3-cfg1
/usr/share/doc/perl-Config-Validator/eg/ex3.pl
/usr/share/doc/perl-Config-Validator/eg/ex4-cfg1
/usr/share/doc/perl-Config-Validator/eg/ex4.pl
/usr/share/doc/perl-Config-Validator/eg/ex5-cfg1
/usr/share/doc/perl-Config-Validator/eg/ex5.pl
/usr/share/man/man3/Config::Validator.3pm.gz
/usr/share/perl5/vendor_perl/Config
/usr/share/perl5/vendor_perl/Config/Validator.pm

References

Summary

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