How To Install perl-Hash-WithDefaults on Fedora 36

In this tutorial we learn how to install perl-Hash-WithDefaults in Fedora 36. perl-Hash-WithDefaults is Class for hashes with key-casing requirements supporting defaults

Introduction

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

What is perl-Hash-WithDefaults

This module implements hashes that support “defaults”. That is you may specify several more hashes in which the data will be looked up in case it is not found in the current hash.

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

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

sudo dnf -y install perl-Hash-WithDefaults

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

sudo yum -y install perl-Hash-WithDefaults

How To Uninstall perl-Hash-WithDefaults on Fedora 36

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

sudo dnf remove perl-Hash-WithDefaults

perl-Hash-WithDefaults Package Contents on Fedora 36

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

References

Summary

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