How To Install perl-Any-Moose on AlmaLinux 8

In this tutorial we learn how to install perl-Any-Moose in AlmaLinux 8. perl-Any-Moose is Use Moose or Mouse automagically (DEPRECATED)

Introduction

In this tutorial we learn how to install perl-Any-Moose on AlmaLinux 8.

What is perl-Any-Moose

Any This module allows one to take advantage of the features Moose/Mouse provides, while allowing one to let the program author determine if Moose or Mouse should be used; when use’d, we load Mouse if Moose isn’t already loaded, otherwise we go with Moose.

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

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

sudo dnf -y install perl-Any-Moose

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

sudo yum -y install perl-Any-Moose

How To Uninstall perl-Any-Moose on AlmaLinux 8

To uninstall only the perl-Any-Moose package we can use the following command:

sudo dnf remove perl-Any-Moose

References

Summary

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