How To Install perl-lib-abs on Fedora 36

In this tutorial we learn how to install perl-lib-abs in Fedora 36. perl-lib-abs is Module lib that makes relative path absolute to caller

Introduction

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

What is perl-lib-abs

The main reason of this library is to transform relative paths to absolute at the BEGIN stage, and push transformed to @INC. Relative path basis is not the current working directory, but the location of file, where the statement is (caller file). When using common lib, relative paths stays relative to current working directory.

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

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

sudo dnf -y install perl-lib-abs

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

sudo yum -y install perl-lib-abs

How To Uninstall perl-lib-abs on Fedora 36

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

sudo dnf remove perl-lib-abs

perl-lib-abs Package Contents on Fedora 36

/usr/share/doc/perl-lib-abs
/usr/share/doc/perl-lib-abs/Changes
/usr/share/doc/perl-lib-abs/README
/usr/share/licenses/perl-lib-abs
/usr/share/licenses/perl-lib-abs/LICENSE
/usr/share/man/man3/lib::abs.3pm.gz
/usr/share/perl5/vendor_perl/lib
/usr/share/perl5/vendor_perl/lib/abs.pm

References

Summary

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