How To Install perl-File-SearchPath on Fedora 36

In this tutorial we learn how to install perl-File-SearchPath in Fedora 36. perl-File-SearchPath is Search for a file in an environment variable path

Introduction

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

What is perl-File-SearchPath

This module provides the ability to search a path-like environment variable for a file (that does not necessarily have to be an executable).

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

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

sudo dnf -y install perl-File-SearchPath

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

sudo yum -y install perl-File-SearchPath

How To Uninstall perl-File-SearchPath on Fedora 36

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

sudo dnf remove perl-File-SearchPath

perl-File-SearchPath Package Contents on Fedora 36

/usr/share/doc/perl-File-SearchPath
/usr/share/doc/perl-File-SearchPath/ChangeLog
/usr/share/doc/perl-File-SearchPath/README
/usr/share/man/man3/File::SearchPath.3pm.gz
/usr/share/perl5/vendor_perl/File
/usr/share/perl5/vendor_perl/File/SearchPath.pm

References

Summary

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