How To Install perl-SelfLoader on Fedora 36

In this tutorial we learn how to install perl-SelfLoader in Fedora 36. perl-SelfLoader is Load functions only on demand

Introduction

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

What is perl-SelfLoader

This Perl module tells its users that functions in a package are to be autoloaded from after the “DATA” token. See also “Autoloading” in perlsub.

We can use yum or dnf to install perl-SelfLoader on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-SelfLoader.

Install perl-SelfLoader 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-SelfLoader using dnf by running the following command:

sudo dnf -y install perl-SelfLoader

Install perl-SelfLoader 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-SelfLoader using yum by running the following command:

sudo yum -y install perl-SelfLoader

How To Uninstall perl-SelfLoader on Fedora 36

To uninstall only the perl-SelfLoader package we can use the following command:

sudo dnf remove perl-SelfLoader

perl-SelfLoader Package Contents on Fedora 36

/usr/share/man/man3/SelfLoader.3pm.gz
/usr/share/perl5/SelfLoader.pm

References

Summary

In this tutorial we learn how to install perl-SelfLoader on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).