How To Install perl-Hash-AutoHash on Fedora 36

In this tutorial we learn how to install perl-Hash-AutoHash in Fedora 36. perl-Hash-AutoHash is Object-oriented access to real and tied hashes

Introduction

In this tutorial we learn how to install perl-Hash-AutoHash on Fedora 36.

What is perl-Hash-AutoHash

This is yet another Perl module that lets you access or change the elements of a hash using methods with the same name as the element’s key. It follows in the footsteps of Hash Object module and its forebears is that it supports tied hashes, in addition to regular hashes.

We can use yum or dnf to install perl-Hash-AutoHash on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Hash-AutoHash.

Install perl-Hash-AutoHash 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-Hash-AutoHash using dnf by running the following command:

sudo dnf -y install perl-Hash-AutoHash

Install perl-Hash-AutoHash 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-Hash-AutoHash using yum by running the following command:

sudo yum -y install perl-Hash-AutoHash

How To Uninstall perl-Hash-AutoHash on Fedora 36

To uninstall only the perl-Hash-AutoHash package we can use the following command:

sudo dnf remove perl-Hash-AutoHash

perl-Hash-AutoHash Package Contents on Fedora 36

/usr/share/doc/perl-Hash-AutoHash
/usr/share/doc/perl-Hash-AutoHash/Changes
/usr/share/doc/perl-Hash-AutoHash/README
/usr/share/man/man3/Hash::AutoHash.3pm.gz
/usr/share/perl5/vendor_perl/Hash
/usr/share/perl5/vendor_perl/Hash/AutoHash.pm

References

Summary

In this tutorial we learn how to install perl-Hash-AutoHash on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).