How To Install perl-Modern-Perl on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-Modern-Perl
on Rocky Linux 8.
What is perl-Modern-Perl
Modern Perl often relies on the presence of several core and CPAN pragmas and modules. Wouldn’t it be nice to use them all with a single command?
We can use yum
or dnf
to install perl-Modern-Perl
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Modern-Perl.
Install perl-Modern-Perl 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-Modern-Perl
using dnf
by running the following command:
sudo dnf -y install perl-Modern-Perl
Install perl-Modern-Perl 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-Modern-Perl
using yum
by running the following command:
sudo yum -y install perl-Modern-Perl
How To Uninstall perl-Modern-Perl on Rocky Linux 8
To uninstall only the perl-Modern-Perl
package we can use the following command:
sudo dnf remove perl-Modern-Perl
perl-Modern-Perl Package Contents on Rocky Linux 8
/usr/share/doc/perl-Modern-Perl
/usr/share/doc/perl-Modern-Perl/Changes
/usr/share/doc/perl-Modern-Perl/README
/usr/share/licenses/perl-Modern-Perl
/usr/share/licenses/perl-Modern-Perl/LICENSE
/usr/share/man/man3/Modern::Perl.3pm.gz
/usr/share/man/man3/odern::Perl.3pm.gz
/usr/share/perl5/vendor_perl/Modern
/usr/share/perl5/vendor_perl/Modern/Perl.pm
/usr/share/perl5/vendor_perl/odern
/usr/share/perl5/vendor_perl/odern/Perl.pm
References
Summary
In this tutorial we learn how to install perl-Modern-Perl
on Rocky Linux 8 using yum and dnf.