How To Install perl-File-Which.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install perl-File-Which.noarch
on Amazon Linux 2.
What is perl-File-Which.noarch
File can be used to get the absolute filename of an executable program installed somewhere in your PATH, or just check for its existence. It includes the command-line utility ‘pwhich’ which has the same function as ‘which’.
We can use yum
to install perl-File-Which.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-File-Which.noarch.
Install perl-File-Which.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-File-Which.noarch
using yum
by running the following command:
sudo yum -y install perl-File-Which.noarch
How To Uninstall perl-File-Which.noarch on Amazon Linux 2
To uninstall only the perl-File-Which.noarch
package we can use the following command:
sudo yum remove perl-File-Which.noarch
perl-File-Which.noarch Package Contents on Amazon Linux 2
/usr/bin/pwhich
/usr/share/doc/perl-File-Which-1.09
/usr/share/doc/perl-File-Which-1.09/Changes
/usr/share/doc/perl-File-Which-1.09/README
/usr/share/man/man1/pwhich.1.gz
/usr/share/man/man3/File::Which.3pm.gz
/usr/share/perl5/vendor_perl/File
/usr/share/perl5/vendor_perl/File/Which.pm
References
Summary
In this tutorial we learn how to install perl-File-Which.noarch
on Amazon Linux 2 using yum.