How To Install perl-File-pushd.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install perl-File-pushd.noarch
on Amazon Linux 2.
What is perl-File-pushd.noarch
File automatically reverted, similar to pushd in some Unix command shells. It works by creating an object that caches the original working directory. When the object is destroyed, the destructor calls chdir to revert to the original working directory. By storing the object in a lexical variable with a limited scope, this happens automatically at the end of the scope.
We can use yum
to install perl-File-pushd.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-pushd.noarch.
Install perl-File-pushd.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-pushd.noarch
using yum
by running the following command:
sudo yum -y install perl-File-pushd.noarch
How To Uninstall perl-File-pushd.noarch on Amazon Linux 2
To uninstall only the perl-File-pushd.noarch
package we can use the following command:
sudo yum remove perl-File-pushd.noarch
perl-File-pushd.noarch Package Contents on Amazon Linux 2
/usr/share/doc/perl-File-pushd-1.005
/usr/share/doc/perl-File-pushd-1.005/CONTRIBUTING
/usr/share/doc/perl-File-pushd-1.005/Changes
/usr/share/doc/perl-File-pushd-1.005/LICENSE
/usr/share/doc/perl-File-pushd-1.005/README
/usr/share/doc/perl-File-pushd-1.005/Todo
/usr/share/man/man3/File::pushd.3pm.gz
/usr/share/perl5/vendor_perl/File
/usr/share/perl5/vendor_perl/File/pushd.pm
References
Summary
In this tutorial we learn how to install perl-File-pushd.noarch
on Amazon Linux 2 using yum.