How To Install perl-MooseX-Types-Common on Rocky Linux 8

In this tutorial we learn how to install perl-MooseX-Types-Common on Rocky Linux 8. perl-MooseX-Types-Common is A library of commonly used type constraints

Introduction

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

What is perl-MooseX-Types-Common

A set of commonly-used type constraints that do not ship with Moose by default.

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

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

sudo dnf -y install perl-MooseX-Types-Common

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

sudo yum -y install perl-MooseX-Types-Common

How To Uninstall perl-MooseX-Types-Common on Rocky Linux 8

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

sudo dnf remove perl-MooseX-Types-Common

perl-MooseX-Types-Common Package Contents on Rocky Linux 8

/usr/share/doc/perl-MooseX-Types-Common
/usr/share/doc/perl-MooseX-Types-Common/Changes
/usr/share/doc/perl-MooseX-Types-Common/README
/usr/share/licenses/perl-MooseX-Types-Common
/usr/share/licenses/perl-MooseX-Types-Common/LICENSE
/usr/share/man/man3/MooseX::Types::Common.3pm.gz
/usr/share/man/man3/MooseX::Types::Common::Numeric.3pm.gz
/usr/share/man/man3/MooseX::Types::Common::String.3pm.gz
/usr/share/perl5/vendor_perl/MooseX
/usr/share/perl5/vendor_perl/MooseX/Types
/usr/share/perl5/vendor_perl/MooseX/Types/Common
/usr/share/perl5/vendor_perl/MooseX/Types/Common.pm
/usr/share/perl5/vendor_perl/MooseX/Types/Common/Numeric.pm
/usr/share/perl5/vendor_perl/MooseX/Types/Common/String.pm

References

Summary

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