How To Install perl-ExtUtils-InstallPaths on Rocky Linux 8

In this tutorial we learn how to install perl-ExtUtils-InstallPaths on Rocky Linux 8. perl-ExtUtils-InstallPaths is Build.PL install path logic made easy

Introduction

In this tutorial we learn how to install perl-ExtUtils-InstallPaths on Rocky Linux 8.

What is perl-ExtUtils-InstallPaths

This module tries to make install path resolution as easy as possible. When you want to install a module, it needs to figure out where to install things. The nutshell version of how this works is that default installation locations are determined from ExtUtils overridden by using the install_path attribute. An install_base attribute lets you specify an alternative installation root like /home/foo and prefix does something similar in a rather different (and more complicated) way. destdir lets you specify a temporary installation directory like /tmp/install in case you want to create bundled-up installable packages.

We can use yum or dnf to install perl-ExtUtils-InstallPaths on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-ExtUtils-InstallPaths.

Install perl-ExtUtils-InstallPaths on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-ExtUtils-InstallPaths using dnf by running the following command:

sudo dnf -y install perl-ExtUtils-InstallPaths

Install perl-ExtUtils-InstallPaths on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-ExtUtils-InstallPaths using yum by running the following command:

sudo yum -y install perl-ExtUtils-InstallPaths

How To Uninstall perl-ExtUtils-InstallPaths on Rocky Linux 8

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

sudo dnf remove perl-ExtUtils-InstallPaths

perl-ExtUtils-InstallPaths Package Contents on Rocky Linux 8

/usr/share/doc/perl-ExtUtils-InstallPaths
/usr/share/doc/perl-ExtUtils-InstallPaths/Changes
/usr/share/licenses/perl-ExtUtils-InstallPaths
/usr/share/licenses/perl-ExtUtils-InstallPaths/LICENSE
/usr/share/man/man3/ExtUtils::InstallPaths.3pm.gz
/usr/share/perl5/vendor_perl/ExtUtils
/usr/share/perl5/vendor_perl/ExtUtils/InstallPaths.pm

References

Summary

In this tutorial we learn how to install perl-ExtUtils-InstallPaths on Rocky Linux 8 using yum and dnf.