How To Install perl-Directory-Scratch on Fedora 36
Introduction
In this tutorial we learn how to install perl-Directory-Scratch
on Fedora 36.
What is perl-Directory-Scratch
When writing test suites for modules that operate on files, it’s often inconvenient to correctly create a platform-independent temporary storage space, manipulate files inside it, then clean it up when the test exits. The inconvenience usually results in tests that don’t work everywhere, or worse, no tests at all. This module aims to eliminate that problem by making it easy to do things right.
We can use yum
or dnf
to install perl-Directory-Scratch
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Directory-Scratch.
Install perl-Directory-Scratch 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-Directory-Scratch
using dnf
by running the following command:
sudo dnf -y install perl-Directory-Scratch
Install perl-Directory-Scratch 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-Directory-Scratch
using yum
by running the following command:
sudo yum -y install perl-Directory-Scratch
How To Uninstall perl-Directory-Scratch on Fedora 36
To uninstall only the perl-Directory-Scratch
package we can use the following command:
sudo dnf remove perl-Directory-Scratch
perl-Directory-Scratch Package Contents on Fedora 36
/usr/share/doc/perl-Directory-Scratch
/usr/share/doc/perl-Directory-Scratch/CONTRIBUTING
/usr/share/doc/perl-Directory-Scratch/Changes
/usr/share/doc/perl-Directory-Scratch/README
/usr/share/doc/perl-Directory-Scratch/examples
/usr/share/doc/perl-Directory-Scratch/examples/basic.pl
/usr/share/licenses/perl-Directory-Scratch
/usr/share/licenses/perl-Directory-Scratch/LICENSE
/usr/share/man/man3/Directory::Scratch.3pm.gz
/usr/share/perl5/vendor_perl/Directory
/usr/share/perl5/vendor_perl/Directory/Scratch.pm
References
Summary
In this tutorial we learn how to install perl-Directory-Scratch
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).