How To Install perl-Hash-Merge-Simple on AlmaLinux 8

In this tutorial we learn how to install perl-Hash-Merge-Simple in AlmaLinux 8. perl-Hash-Merge-Simple is Recursively merge two or more hashes, simply

Introduction

In this tutorial we learn how to install perl-Hash-Merge-Simple on AlmaLinux 8.

What is perl-Hash-Merge-Simple

Hash the result as a new hash reference. The merge function will descend and merge hashes that exist under the same node in both the left and right hash, but doesn’t attempt to combine arrays, objects, scalars, or anything else. The rightmost hash also takes precedence, replacing whatever was in the left hash if a conflict occurs. This code was pretty much taken straight from Catalyst than 2 hashes at the same time.

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

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

sudo dnf -y install perl-Hash-Merge-Simple

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

sudo yum -y install perl-Hash-Merge-Simple

How To Uninstall perl-Hash-Merge-Simple on AlmaLinux 8

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

sudo dnf remove perl-Hash-Merge-Simple

References

Summary

In this tutorial we learn how to install perl-Hash-Merge-Simple on AlmaLinux 8 using yum and dnf.