How To Install perl-Sub-Name on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-Sub-Name
on Rocky Linux 8.
What is perl-Sub-Name
This module allows one to “name” or rename subroutines, including anonymous ones. Note that this is mainly for aid in debugging; you still cannot call the sub by the new name (without some deep magic).
We can use yum
or dnf
to install perl-Sub-Name
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Sub-Name.
Install perl-Sub-Name 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-Sub-Name
using dnf
by running the following command:
sudo dnf -y install perl-Sub-Name
Install perl-Sub-Name 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-Sub-Name
using yum
by running the following command:
sudo yum -y install perl-Sub-Name
How To Uninstall perl-Sub-Name on Rocky Linux 8
To uninstall only the perl-Sub-Name
package we can use the following command:
sudo dnf remove perl-Sub-Name
perl-Sub-Name Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/25168fb813a6e98f44157370d08a358eff0d7c
/usr/lib64/perl5/vendor_perl/Sub
/usr/lib64/perl5/vendor_perl/Sub/Name.pm
/usr/lib64/perl5/vendor_perl/auto/Sub
/usr/lib64/perl5/vendor_perl/auto/Sub/Name
/usr/lib64/perl5/vendor_perl/auto/Sub/Name/Name.so
/usr/share/doc/perl-Sub-Name
/usr/share/doc/perl-Sub-Name/CONTRIBUTING
/usr/share/doc/perl-Sub-Name/Changes
/usr/share/doc/perl-Sub-Name/README
/usr/share/licenses/perl-Sub-Name
/usr/share/licenses/perl-Sub-Name/LICENCE
/usr/share/man/man3/Sub::Name.3pm.gz
References
Summary
In this tutorial we learn how to install perl-Sub-Name
on Rocky Linux 8 using yum and dnf.