How To Install perl-Hash-Layout on Fedora 36

In this tutorial we learn how to install perl-Hash-Layout in Fedora 36. perl-Hash-Layout is Hashes with predefined levels, composite keys and default values

Introduction

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

What is perl-Hash-Layout

Hash you can access using special “composite keys”. These are essentially string paths that inflate into actual hash keys according to the defined levels and delimiter mappings, which can be the same or different for each level. This is useful both for shorter keys as well as merge/fallback to default values, such as when defining overlapping configs ranging from broad to narrowing scope.

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

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

sudo dnf -y install perl-Hash-Layout

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

sudo yum -y install perl-Hash-Layout

How To Uninstall perl-Hash-Layout on Fedora 36

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

sudo dnf remove perl-Hash-Layout

perl-Hash-Layout Package Contents on Fedora 36

/usr/share/doc/perl-Hash-Layout
/usr/share/doc/perl-Hash-Layout/Changes
/usr/share/doc/perl-Hash-Layout/README
/usr/share/doc/perl-Hash-Layout/README.md
/usr/share/licenses/perl-Hash-Layout
/usr/share/licenses/perl-Hash-Layout/LICENSE
/usr/share/man/man3/Hash::Layout.3pm.gz
/usr/share/man/man3/Hash::Layout::Level.3pm.gz
/usr/share/perl5/vendor_perl/Hash
/usr/share/perl5/vendor_perl/Hash/Layout
/usr/share/perl5/vendor_perl/Hash/Layout.pm
/usr/share/perl5/vendor_perl/Hash/Layout/Level.pm

References

Summary

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