How To Install perl-Tie-IxHash.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Tie-IxHash.noarch in Amazon Linux 2. perl-Tie-IxHash.noarch is Ordered associative arrays for Perl

Introduction

In this tutorial we learn how to install perl-Tie-IxHash.noarch on Amazon Linux 2.

What is perl-Tie-IxHash.noarch

This Perl module implements Perl hashes that preserve the order in which the hash elements were added. The order is not affected when values corresponding to existing keys in the IxHash are changed. The elements can also be set to any arbitrary supplied order. The familiar perl array operations can also be performed on the IxHash.

We can use yum to install perl-Tie-IxHash.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Tie-IxHash.noarch.

Install perl-Tie-IxHash.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Tie-IxHash.noarch using yum by running the following command:

sudo yum -y install perl-Tie-IxHash.noarch

How To Uninstall perl-Tie-IxHash.noarch on Amazon Linux 2

To uninstall only the perl-Tie-IxHash.noarch package we can use the following command:

sudo yum remove perl-Tie-IxHash.noarch

perl-Tie-IxHash.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-Tie-IxHash-1.22
/usr/share/doc/perl-Tie-IxHash-1.22/Changes
/usr/share/doc/perl-Tie-IxHash-1.22/README
/usr/share/man/man3/Tie::IxHash.3pm.gz
/usr/share/perl5/vendor_perl/Tie
/usr/share/perl5/vendor_perl/Tie/IxHash.pm

References

Summary

In this tutorial we learn how to install perl-Tie-IxHash.noarch on Amazon Linux 2 using yum.