How To Install perl-Test-Directory on Fedora 36
Introduction
In this tutorial we learn how to install perl-Test-Directory
on Fedora 36.
What is perl-Test-Directory
Testing code can involve making sure that files are created and deleted as expected. Doing this manually can be error prone, as it’s easy to forget a file, or miss that some unexpected file was added. This module simplifies maintaining test directories by tracking their status as they are modified or tested with this API, making it simple to test both individual files, as well as to verify that there are no missing or unknown files.
We can use yum
or dnf
to install perl-Test-Directory
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Test-Directory.
Install perl-Test-Directory 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-Test-Directory
using dnf
by running the following command:
sudo dnf -y install perl-Test-Directory
Install perl-Test-Directory 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-Test-Directory
using yum
by running the following command:
sudo yum -y install perl-Test-Directory
How To Uninstall perl-Test-Directory on Fedora 36
To uninstall only the perl-Test-Directory
package we can use the following command:
sudo dnf remove perl-Test-Directory
perl-Test-Directory Package Contents on Fedora 36
/usr/share/doc/perl-Test-Directory
/usr/share/doc/perl-Test-Directory/Changes
/usr/share/doc/perl-Test-Directory/README
/usr/share/man/man3/Test::Directory.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/Directory.pm
References
Summary
In this tutorial we learn how to install perl-Test-Directory
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).