How To Install perl-AppConfig.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-AppConfig.noarch in Amazon Linux 2. perl-AppConfig.noarch is Perl module for reading configuration files

Introduction

In this tutorial we learn how to install perl-AppConfig.noarch on Amazon Linux 2.

What is perl-AppConfig.noarch

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 to install perl-AppConfig.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-AppConfig.noarch.

Install perl-AppConfig.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-AppConfig.noarch using yum by running the following command:

sudo yum -y install perl-AppConfig.noarch

How To Uninstall perl-AppConfig.noarch on Amazon Linux 2

To uninstall only the perl-AppConfig.noarch package we can use the following command:

sudo yum remove perl-AppConfig.noarch

perl-AppConfig.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-AppConfig-1.66
/usr/share/doc/perl-AppConfig-1.66/Changes
/usr/share/doc/perl-AppConfig-1.66/LICENSE
/usr/share/doc/perl-AppConfig-1.66/README
/usr/share/doc/perl-AppConfig-1.66/TODO
/usr/share/man/man3/AppConfig.3pm.gz
/usr/share/man/man3/AppConfig::Args.3pm.gz
/usr/share/man/man3/AppConfig::CGI.3pm.gz
/usr/share/man/man3/AppConfig::File.3pm.gz
/usr/share/man/man3/AppConfig::Getopt.3pm.gz
/usr/share/man/man3/AppConfig::State.3pm.gz
/usr/share/man/man3/AppConfig::Sys.3pm.gz
/usr/share/perl5/vendor_perl/AppConfig
/usr/share/perl5/vendor_perl/AppConfig.pm
/usr/share/perl5/vendor_perl/AppConfig/Args.pm
/usr/share/perl5/vendor_perl/AppConfig/CGI.pm
/usr/share/perl5/vendor_perl/AppConfig/File.pm
/usr/share/perl5/vendor_perl/AppConfig/Getopt.pm
/usr/share/perl5/vendor_perl/AppConfig/State.pm
/usr/share/perl5/vendor_perl/AppConfig/Sys.pm

References

Summary

In this tutorial we learn how to install perl-AppConfig.noarch on Amazon Linux 2 using yum.