How To Install perl-Role-Commons on Fedora 36

In this tutorial we learn how to install perl-Role-Commons in Fedora 36. perl-Role-Commons is Roles that can be commonly used

Introduction

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

What is perl-Role-Commons

Role-Commons is not yet another implementation of roles. It is a collection of generic, reusable roles that hopefully you will love to apply to your classes. These roles are built using Moo Moose object system if you’re using it, but they do not require Moose.

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

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

sudo dnf -y install perl-Role-Commons

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

sudo yum -y install perl-Role-Commons

How To Uninstall perl-Role-Commons on Fedora 36

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

sudo dnf remove perl-Role-Commons

perl-Role-Commons Package Contents on Fedora 36

/usr/share/doc/perl-Role-Commons
/usr/share/doc/perl-Role-Commons/COPYRIGHT
/usr/share/doc/perl-Role-Commons/CREDITS
/usr/share/doc/perl-Role-Commons/Changes
/usr/share/doc/perl-Role-Commons/README
/usr/share/licenses/perl-Role-Commons
/usr/share/licenses/perl-Role-Commons/LICENSE
/usr/share/man/man3/Role::Commons.3pm.gz
/usr/share/man/man3/Role::Commons::Authority.3pm.gz
/usr/share/man/man3/Role::Commons::ObjectID.3pm.gz
/usr/share/man/man3/Role::Commons::Tap.3pm.gz
/usr/share/perl5/vendor_perl/Object
/usr/share/perl5/vendor_perl/Object/AUTHORITY.pm
/usr/share/perl5/vendor_perl/Role
/usr/share/perl5/vendor_perl/Role/Commons
/usr/share/perl5/vendor_perl/Role/Commons.pm
/usr/share/perl5/vendor_perl/Role/Commons/Authority.pm
/usr/share/perl5/vendor_perl/Role/Commons/ObjectID.pm
/usr/share/perl5/vendor_perl/Role/Commons/Tap.pm

References

Summary

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