How To Install perl-MooseX-NonMoose on Rocky Linux 8

In this tutorial we learn how to install perl-MooseX-NonMoose on Rocky Linux 8. perl-MooseX-NonMoose is Easy subclassing of non-Moose classes

Introduction

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

What is perl-MooseX-NonMoose

MooseX Moose, taking care of the annoying details connected with doing this, such as setting up proper inheritance from Moose inlining, at make_immutable time) a constructor that makes sure things like BUILD methods are called. It tries to be as non-intrusive as possible - when this module is used, inheriting from non-Moose classes and inheriting from Moose classes should work identically, aside from the few caveats mentioned below. One of the goals of this module is that including it in a Moose possible, without interfering with classes that only inherit from Moose modules, or even classes that don’t inherit from anything at all.

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

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

sudo dnf -y install perl-MooseX-NonMoose

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

sudo yum -y install perl-MooseX-NonMoose

How To Uninstall perl-MooseX-NonMoose on Rocky Linux 8

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

sudo dnf remove perl-MooseX-NonMoose

perl-MooseX-NonMoose Package Contents on Rocky Linux 8

/usr/share/doc/perl-MooseX-NonMoose
/usr/share/doc/perl-MooseX-NonMoose/Changes
/usr/share/doc/perl-MooseX-NonMoose/README
/usr/share/licenses/perl-MooseX-NonMoose
/usr/share/licenses/perl-MooseX-NonMoose/LICENSE
/usr/share/man/man3/MooseX::NonMoose.3pm.gz
/usr/share/man/man3/MooseX::NonMoose::InsideOut.3pm.gz
/usr/share/man/man3/MooseX::NonMoose::Meta::Role::Class.3pm.gz
/usr/share/man/man3/MooseX::NonMoose::Meta::Role::Constructor.3pm.gz
/usr/share/perl5/vendor_perl/MooseX
/usr/share/perl5/vendor_perl/MooseX/NonMoose
/usr/share/perl5/vendor_perl/MooseX/NonMoose.pm
/usr/share/perl5/vendor_perl/MooseX/NonMoose/InsideOut.pm
/usr/share/perl5/vendor_perl/MooseX/NonMoose/Meta
/usr/share/perl5/vendor_perl/MooseX/NonMoose/Meta/Role
/usr/share/perl5/vendor_perl/MooseX/NonMoose/Meta/Role/Class.pm
/usr/share/perl5/vendor_perl/MooseX/NonMoose/Meta/Role/Constructor.pm

References

Summary

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