How To Install perl-Moo on Fedora 36

In this tutorial we learn how to install perl-Moo in Fedora 36. perl-Moo is Minimalist Object Orientation (with Moose compatibility)

Introduction

In this tutorial we learn how to install perl-Moo on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Moo.

Install perl-Moo on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove perl-Moo

perl-Moo Package Contents on Fedora 36

/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/sification.pm
/usr/share/perl5/vendor_perl/oo.pm

References

Summary

In this tutorial we learn how to install perl-Moo on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).