How To Install perl-Moo on Rocky Linux 8

In this tutorial we learn how to install perl-Moo on Rocky Linux 8. perl-Moo is Minimalist Object Orientation (with Moose compatibility)

Introduction

In this tutorial we learn how to install perl-Moo on Rocky Linux 8.

What is perl-Moo

This module is an extremely light-weight, high-performance Moose replacement. It also avoids depending on any XS modules to allow simple deployments. The name Moo is based on the idea that it provides almost -but not quite- two thirds of Moose.

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

Install perl-Moo on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Moo

Install perl-Moo on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Moo

How To Uninstall perl-Moo on Rocky Linux 8

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

sudo dnf remove perl-Moo

perl-Moo Package Contents on Rocky Linux 8

/usr/share/doc/perl-Moo
/usr/share/doc/perl-Moo/Changes
/usr/share/doc/perl-Moo/README
/usr/share/man/man3/Moo.3pm.gz
/usr/share/man/man3/Moo::Role.3pm.gz
/usr/share/man/man3/oo.3pm.gz
/usr/share/perl5/vendor_perl/Method
/usr/share/perl5/vendor_perl/Method/Generate
/usr/share/perl5/vendor_perl/Method/Generate/Accessor.pm
/usr/share/perl5/vendor_perl/Method/Generate/BuildAll.pm
/usr/share/perl5/vendor_perl/Method/Generate/Constructor.pm
/usr/share/perl5/vendor_perl/Method/Generate/DemolishAll.pm
/usr/share/perl5/vendor_perl/Moo
/usr/share/perl5/vendor_perl/Moo.pm
/usr/share/perl5/vendor_perl/Moo/HandleMoose
/usr/share/perl5/vendor_perl/Moo/HandleMoose.pm
/usr/share/perl5/vendor_perl/Moo/HandleMoose/FakeMetaClass.pm
/usr/share/perl5/vendor_perl/Moo/HandleMoose/_TypeMap.pm
/usr/share/perl5/vendor_perl/Moo/Object.pm
/usr/share/perl5/vendor_perl/Moo/Role.pm
/usr/share/perl5/vendor_perl/Moo/_Utils.pm
/usr/share/perl5/vendor_perl/Moo/_mro.pm
/usr/share/perl5/vendor_perl/Moo/_strictures.pm
/usr/share/perl5/vendor_perl/Moo/sification.pm
/usr/share/perl5/vendor_perl/oo.pm

References

Summary

In this tutorial we learn how to install perl-Moo on Rocky Linux 8 using yum and dnf.