How To Install perl-AppConfig on CentOS 7
Introduction
In this tutorial we learn how to install perl-AppConfig
on CentOS 7.
What is perl-AppConfig
AppConfig has a powerful but easy to use module for parsing configuration files. It also has a simple and efficient module for parsing command line arguments. For fully-featured command line parsing, a module is provided for interfacing AppConfig to Johan Vromans’ extensive Getopt to develop the functionality of this package and its features will automatically become available through AppConfig.
We can use yum
or dnf
to install perl-AppConfig
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-AppConfig.
Install perl-AppConfig 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-AppConfig
using yum
by running the following command:
sudo yum -y install perl-AppConfig
Install perl-AppConfig 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-AppConfig
using dnf
by running the following command:
sudo dnf -y install perl-AppConfig
How To Uninstall perl-AppConfig on CentOS 7
To uninstall only the perl-AppConfig
package we can use the following command:
sudo dnf remove perl-AppConfig
References
Summary
In this tutorial we learn how to install perl-AppConfig
on CentOS 7 using yum
and dnf
.