How To Install perl-MooseX-RelatedClassRoles on Fedora 36

In this tutorial we learn how to install perl-MooseX-RelatedClassRoles in Fedora 36. perl-MooseX-RelatedClassRoles is Apply roles to a class related to yours

Introduction

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

What is perl-MooseX-RelatedClassRoles

Frequently, you have to use a class that provides some foo_class accessor or attribute as a method of dependency injection. Use this role when you’d rather apply roles to make your custom foo_class instead of manually setting up a subclass.

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

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

sudo dnf -y install perl-MooseX-RelatedClassRoles

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

sudo yum -y install perl-MooseX-RelatedClassRoles

How To Uninstall perl-MooseX-RelatedClassRoles on Fedora 36

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

sudo dnf remove perl-MooseX-RelatedClassRoles

perl-MooseX-RelatedClassRoles Package Contents on Fedora 36

/usr/share/doc/perl-MooseX-RelatedClassRoles
/usr/share/doc/perl-MooseX-RelatedClassRoles/Changes
/usr/share/doc/perl-MooseX-RelatedClassRoles/LICENSE
/usr/share/doc/perl-MooseX-RelatedClassRoles/README
/usr/share/man/man3/MooseX::RelatedClassRoles.3pm.gz
/usr/share/perl5/vendor_perl/MooseX
/usr/share/perl5/vendor_perl/MooseX/RelatedClassRoles.pm

References

Summary

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