How To Install perl-Dir-Self on Fedora 36
Introduction
In this tutorial we learn how to install perl-Dir-Self
on Fedora 36.
What is perl-Dir-Self
Perl has two pseudo-constants describing the current location in your source code, FILE and LINE. This module adds DIR, which expands to the directory your source file is in, as an absolute pathname.
We can use yum
or dnf
to install perl-Dir-Self
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Dir-Self.
Install perl-Dir-Self 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-Dir-Self
using dnf
by running the following command:
sudo dnf -y install perl-Dir-Self
Install perl-Dir-Self 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-Dir-Self
using yum
by running the following command:
sudo yum -y install perl-Dir-Self
How To Uninstall perl-Dir-Self on Fedora 36
To uninstall only the perl-Dir-Self
package we can use the following command:
sudo dnf remove perl-Dir-Self
perl-Dir-Self Package Contents on Fedora 36
/usr/share/doc/perl-Dir-Self
/usr/share/doc/perl-Dir-Self/Changes
/usr/share/doc/perl-Dir-Self/README
/usr/share/man/man3/Dir::Self.3pm.gz
/usr/share/perl5/vendor_perl/Dir
/usr/share/perl5/vendor_perl/Dir/Self.pm
References
Summary
In this tutorial we learn how to install perl-Dir-Self
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).