How To Install perl-autouse on Fedora 36

In this tutorial we learn how to install perl-autouse in Fedora 36. perl-autouse is Postpone load of modules until a function is used

Introduction

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

What is perl-autouse

If a module is not loaded yet, then the autouse declaration declares functions in the current package. When these functions are called, they load the package and substitute themselves with the correct definitions.

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

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

sudo dnf -y install perl-autouse

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

sudo yum -y install perl-autouse

How To Uninstall perl-autouse on Fedora 36

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

sudo dnf remove perl-autouse

perl-autouse Package Contents on Fedora 36

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

References

Summary

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