How To Install perl-App-cpanminus on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-App-cpanminus
on Rocky Linux 8.
What is perl-App-cpanminus
Why? It’s dependency free, requires zero configuration, and stands alone but it’s maintainable and extensible with plug-ins and friendly to shell scripting. When running, it requires only 10 MB of RAM.
We can use yum
or dnf
to install perl-App-cpanminus
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-App-cpanminus.
Install perl-App-cpanminus on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-App-cpanminus
using dnf
by running the following command:
sudo dnf -y install perl-App-cpanminus
Install perl-App-cpanminus on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-App-cpanminus
using yum
by running the following command:
sudo yum -y install perl-App-cpanminus
How To Uninstall perl-App-cpanminus on Rocky Linux 8
To uninstall only the perl-App-cpanminus
package we can use the following command:
sudo dnf remove perl-App-cpanminus
perl-App-cpanminus Package Contents on Rocky Linux 8
/usr/bin/cpanm
/usr/share/doc/perl-App-cpanminus
/usr/share/doc/perl-App-cpanminus/Changes
/usr/share/doc/perl-App-cpanminus/README
/usr/share/licenses/perl-App-cpanminus
/usr/share/licenses/perl-App-cpanminus/LICENSE
/usr/share/man/man1/cpanm.1.gz
/usr/share/man/man3/App::cpanminus.3pm.gz
/usr/share/man/man3/App::cpanminus::fatscript.3pm.gz
/usr/share/perl5/vendor_perl/App
/usr/share/perl5/vendor_perl/App/cpanminus
/usr/share/perl5/vendor_perl/App/cpanminus.pm
/usr/share/perl5/vendor_perl/App/cpanminus.pod
/usr/share/perl5/vendor_perl/App/cpanminus/Dependency.pm
/usr/share/perl5/vendor_perl/App/cpanminus/fatscript.pm
/usr/share/perl5/vendor_perl/App/cpanminus/script.pm
References
Summary
In this tutorial we learn how to install perl-App-cpanminus
on Rocky Linux 8 using yum and dnf.