How To Install perl-MooseX-ArrayRef on AlmaLinux 8

In this tutorial we learn how to install perl-MooseX-ArrayRef in AlmaLinux 8. perl-MooseX-ArrayRef is Blessed array references with Moose

Introduction

In this tutorial we learn how to install perl-MooseX-ArrayRef on AlmaLinux 8.

What is perl-MooseX-ArrayRef

Objects implemented with array references are often faster than those implemented with hash references. Moose’s default object implementation is hash reference based. This is object implementation based on array references.

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

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

sudo dnf -y install perl-MooseX-ArrayRef

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

sudo yum -y install perl-MooseX-ArrayRef

How To Uninstall perl-MooseX-ArrayRef on AlmaLinux 8

To uninstall only the perl-MooseX-ArrayRef package we can use the following command:

sudo dnf remove perl-MooseX-ArrayRef

References

Summary

In this tutorial we learn how to install perl-MooseX-ArrayRef on AlmaLinux 8 using yum and dnf.