How To Install perl-Config-General on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-Config-General
on Rocky Linux 8.
What is perl-Config-General
This module opens a config file and parses its contents for you. After parsing the module returns a hash structure which contains the representation of the config file. The format of config files supported by Config the well known Apache config format, in fact, this module is 100% read-compatible with Apache config files, but you can also just use simple name/value pairs in your config files. In addition to the capabilities of an Apache config file it supports some enhancements such as here-documents, C-style comments or multiline options. It is also possible to save the config back to disk, which makes the module a perfect backend for configuration interfaces. It is possible to use variables in config files and there exists also support for object oriented access to the configuration.
We can use yum
or dnf
to install perl-Config-General
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Config-General.
Install perl-Config-General 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-General
using dnf
by running the following command:
sudo dnf -y install perl-Config-General
Install perl-Config-General 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-General
using yum
by running the following command:
sudo yum -y install perl-Config-General
How To Uninstall perl-Config-General on Rocky Linux 8
To uninstall only the perl-Config-General
package we can use the following command:
sudo dnf remove perl-Config-General
perl-Config-General Package Contents on Rocky Linux 8
/usr/share/doc/perl-Config-General
/usr/share/doc/perl-Config-General/Changelog
/usr/share/doc/perl-Config-General/README
/usr/share/doc/perl-Config-General/example.cfg
/usr/share/man/man3/Config::General.3pm.gz
/usr/share/man/man3/Config::General::Extended.3pm.gz
/usr/share/man/man3/Config::General::Interpolated.3pm.gz
/usr/share/perl5/vendor_perl/Config
/usr/share/perl5/vendor_perl/Config/General
/usr/share/perl5/vendor_perl/Config/General.pm
/usr/share/perl5/vendor_perl/Config/General/Extended.pm
/usr/share/perl5/vendor_perl/Config/General/Interpolated.pm
References
Summary
In this tutorial we learn how to install perl-Config-General
on Rocky Linux 8 using yum and dnf.