How To Install perl-Sub-Name on Fedora 36

In this tutorial we learn how to install perl-Sub-Name in Fedora 36. perl-Sub-Name is Name - or rename - a sub

Introduction

In this tutorial we learn how to install perl-Sub-Name on Fedora 36.

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 Fedora 36. 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 Fedora 36 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 Fedora 36 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 Fedora 36

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 Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/a528cc5a16d46c7a581875766b5aa7a44f4a6d
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).