How To Install perl-Pod-Usage.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install perl-Pod-Usage.noarch on Amazon Linux 2.
What is perl-Pod-Usage.noarch
pod2usage will print a usage message for the invoking script (using its embedded POD documentation) and then exit the script with the desired exit status. The usage message printed may have any one of three levels of “verboseness” 0, then only a synopsis is printed. If the verbose level is 1, then the synopsis is printed along with a description (if present) of the command line options and arguments. If the verbose level is 2, then the entire manual page is printed.
We can use yum to install perl-Pod-Usage.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Pod-Usage.noarch.
Install perl-Pod-Usage.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-Pod-Usage.noarch using yum by running the following command:
sudo yum -y install perl-Pod-Usage.noarch
How To Uninstall perl-Pod-Usage.noarch on Amazon Linux 2
To uninstall only the perl-Pod-Usage.noarch package we can use the following command:
sudo yum remove perl-Pod-Usage.noarch
perl-Pod-Usage.noarch Package Contents on Amazon Linux 2
/usr/bin/pod2usage
/usr/share/doc/perl-Pod-Usage-1.63
/usr/share/doc/perl-Pod-Usage-1.63/CHANGES
/usr/share/doc/perl-Pod-Usage-1.63/README
/usr/share/man/man1/pod2usage.1.gz
/usr/share/man/man3/Pod::Usage.3pm.gz
/usr/share/perl5/vendor_perl/Pod
/usr/share/perl5/vendor_perl/Pod/Usage.pm
References
Summary
In this tutorial we learn how to install perl-Pod-Usage.noarch on Amazon Linux 2 using yum.