How To Install perl-Package-Stash on Rocky Linux 8

In this tutorial we learn how to install perl-Package-Stash on Rocky Linux 8. perl-Package-Stash is Routines for manipulating stashes

Introduction

In this tutorial we learn how to install perl-Package-Stash on Rocky Linux 8.

What is perl-Package-Stash

Manipulating stashes (Perl’s symbol tables) is occasionally necessary, but incredibly messy, and easy to get wrong. This module hides all of that behind a simple API.

We can use yum or dnf to install perl-Package-Stash on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Package-Stash.

Install perl-Package-Stash on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Package-Stash using dnf by running the following command:

sudo dnf -y install perl-Package-Stash

Install perl-Package-Stash on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Package-Stash using yum by running the following command:

sudo yum -y install perl-Package-Stash

How To Uninstall perl-Package-Stash on Rocky Linux 8

To uninstall only the perl-Package-Stash package we can use the following command:

sudo dnf remove perl-Package-Stash

perl-Package-Stash Package Contents on Rocky Linux 8

/usr/bin/package-stash-conflicts
/usr/share/doc/perl-Package-Stash
/usr/share/doc/perl-Package-Stash/Changes
/usr/share/doc/perl-Package-Stash/README
/usr/share/licenses/perl-Package-Stash
/usr/share/licenses/perl-Package-Stash/LICENSE
/usr/share/man/man1/package-stash-conflicts.1.gz
/usr/share/man/man3/Package::Stash.3pm.gz
/usr/share/man/man3/Package::Stash::PP.3pm.gz
/usr/share/perl5/vendor_perl/Package
/usr/share/perl5/vendor_perl/Package/Stash
/usr/share/perl5/vendor_perl/Package/Stash.pm
/usr/share/perl5/vendor_perl/Package/Stash/Conflicts.pm
/usr/share/perl5/vendor_perl/Package/Stash/PP.pm

References

Summary

In this tutorial we learn how to install perl-Package-Stash on Rocky Linux 8 using yum and dnf.