How To Install perl-local-lib.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install perl-local-lib.noarch on Amazon Linux 2.
What is perl-local-lib.noarch
This module provides a quick, convenient way of bootstrapping a user- local Perl module library located within the user’s home directory. It also constructs and prints out for the user the list of environment variables using the syntax appropriate for the user’s current shell (as specified by the ‘SHELL’ environment variable), suitable for directly adding to one’s shell configuration file. More generally, local of a directory containing Perl modules outside of Perl’s ‘@INC’. This makes it easier to ship an application with an app-specific copy of a Perl module, or collection of modules. Useful in cases like when an upstream maintainer hasn’t applied a patch to a module of theirs that you need for your application.
We can use yum to install perl-local-lib.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-local-lib.noarch.
Install perl-local-lib.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-local-lib.noarch using yum by running the following command:
sudo yum -y install perl-local-lib.noarch
How To Uninstall perl-local-lib.noarch on Amazon Linux 2
To uninstall only the perl-local-lib.noarch package we can use the following command:
sudo yum remove perl-local-lib.noarch
perl-local-lib.noarch Package Contents on Amazon Linux 2
/usr/share/doc/perl-local-lib-1.008010
/usr/share/doc/perl-local-lib-1.008010/Changes
/usr/share/man/man3/POD2::DE::local::lib.3pm.gz
/usr/share/man/man3/POD2::PT_BR::local::lib.3pm.gz
/usr/share/man/man3/lib::core::only.3pm.gz
/usr/share/man/man3/local::lib.3pm.gz
/usr/share/perl5/vendor_perl/POD2
/usr/share/perl5/vendor_perl/POD2/DE
/usr/share/perl5/vendor_perl/POD2/DE/local
/usr/share/perl5/vendor_perl/POD2/DE/local/lib.pod
/usr/share/perl5/vendor_perl/POD2/PT_BR
/usr/share/perl5/vendor_perl/POD2/PT_BR/local
/usr/share/perl5/vendor_perl/POD2/PT_BR/local/lib.pod
/usr/share/perl5/vendor_perl/lib
/usr/share/perl5/vendor_perl/lib/core
/usr/share/perl5/vendor_perl/lib/core/only.pm
/usr/share/perl5/vendor_perl/local
/usr/share/perl5/vendor_perl/local/lib.pm
References
Summary
In this tutorial we learn how to install perl-local-lib.noarch on Amazon Linux 2 using yum.