How To Install perl-Directory-Scratch on AlmaLinux 8
Introduction
In this tutorial we learn how to install perl-Directory-Scratch on AlmaLinux 8.
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 AlmaLinux 8. 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 AlmaLinux 8 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 AlmaLinux 8 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 AlmaLinux 8
To uninstall only the perl-Directory-Scratch package we can use the following command:
sudo dnf remove perl-Directory-Scratch
References
Summary
In this tutorial we learn how to install perl-Directory-Scratch on AlmaLinux 8 using yum and dnf.