How To Install perl-Any-Moose on CentOS 7

In this tutorial we learn how to install perl-Any-Moose on CentOS 7. perl-Any-Moose is Use Moose or Mouse automagically (DEPRECATED)

Introduction

In this tutorial we learn how to install perl-Any-Moose on CentOS 7.

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 CentOS 7. 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 CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-Any-Moose using yum by running the following command:

sudo yum -y install perl-Any-Moose

Install perl-Any-Moose on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-Any-Moose using dnf by running the following command:

sudo dnf -y install perl-Any-Moose

How To Uninstall perl-Any-Moose on CentOS 7

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 CentOS 7 using yum and dnf.