How To Install perl-L on Fedora 36

In this tutorial we learn how to install perl-L in Fedora 36. perl-L is Perl extension to load module automatically in one-liner

Introduction

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

What is perl-L

This loads perl modules automatically for use in one-liners. The module is dangerous, so don’t use this module in other perl modules, scripts or production-ready code. This should be used only in one-liners.

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

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

sudo dnf -y install perl-L

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

sudo yum -y install perl-L

How To Uninstall perl-L on Fedora 36

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

sudo dnf remove perl-L

perl-L Package Contents on Fedora 36

/usr/share/doc/perl-L
/usr/share/doc/perl-L/Changes
/usr/share/doc/perl-L/README.md
/usr/share/licenses/perl-L
/usr/share/licenses/perl-L/LICENSE
/usr/share/man/man3/L.3pm.gz
/usr/share/perl5/vendor_perl/L.pm

References

Summary

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