How To Install perl-MooseX-Types on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-MooseX-Types
on Rocky Linux 8.
What is perl-MooseX-Types
The types provided with the Moose man page are by design global. This package helps you to organize and selectively import your own and the built-in types in libraries. As a nice side effect, it catches typos at compile-time too. However, the main reason for this module is to provide an easy way to not have conflicts with your type names, since the internal fully qualified names of the types will be prefixed with the library’s name. This module will also provide you with some helper functions to make it easier to use Moose types in your code.
We can use yum
or dnf
to install perl-MooseX-Types
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.
Install perl-MooseX-Types 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
using dnf
by running the following command:
sudo dnf -y install perl-MooseX-Types
Install perl-MooseX-Types 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
using yum
by running the following command:
sudo yum -y install perl-MooseX-Types
How To Uninstall perl-MooseX-Types on Rocky Linux 8
To uninstall only the perl-MooseX-Types
package we can use the following command:
sudo dnf remove perl-MooseX-Types
perl-MooseX-Types Package Contents on Rocky Linux 8
/usr/share/doc/perl-MooseX-Types
/usr/share/doc/perl-MooseX-Types/CONTRIBUTING
/usr/share/doc/perl-MooseX-Types/Changes
/usr/share/doc/perl-MooseX-Types/README
/usr/share/doc/perl-MooseX-Types/t
/usr/share/doc/perl-MooseX-Types/t/00-report-prereqs.dd
/usr/share/doc/perl-MooseX-Types/t/00-report-prereqs.t
/usr/share/doc/perl-MooseX-Types/t/10_moose-types.t
/usr/share/doc/perl-MooseX-Types/t/11_library-definition.t
/usr/share/doc/perl-MooseX-Types/t/12_wrapper-definition.t
/usr/share/doc/perl-MooseX-Types/t/13_typedecorator.t
/usr/share/doc/perl-MooseX-Types/t/14_compatibility-sub-exporter.t
/usr/share/doc/perl-MooseX-Types/t/15_recursion.t
/usr/share/doc/perl-MooseX-Types/t/16_introspection.t
/usr/share/doc/perl-MooseX-Types/t/17_syntax_errors.t
/usr/share/doc/perl-MooseX-Types/t/18_combined_libs.t
/usr/share/doc/perl-MooseX-Types/t/19_typelib_with_role.t
/usr/share/doc/perl-MooseX-Types/t/20_union_with_string_type.t
/usr/share/doc/perl-MooseX-Types/t/21_coerce_parameterized_types.t
/usr/share/doc/perl-MooseX-Types/t/22_class_type.t
/usr/share/doc/perl-MooseX-Types/t/23_any_subtype.t
/usr/share/doc/perl-MooseX-Types/t/24_class_can_isa.t
/usr/share/doc/perl-MooseX-Types/t/25-fully-qualified.t
/usr/share/doc/perl-MooseX-Types/t/26-multi-combined.t
/usr/share/doc/perl-MooseX-Types/t/lib
/usr/share/doc/perl-MooseX-Types/t/lib/Combined.pm
/usr/share/doc/perl-MooseX-Types/t/lib/DecoratorLibrary.pm
/usr/share/doc/perl-MooseX-Types/t/lib/Empty.pm
/usr/share/doc/perl-MooseX-Types/t/lib/MultiCombined.pm
/usr/share/doc/perl-MooseX-Types/t/lib/SubExporterCompatibility.pm
/usr/share/doc/perl-MooseX-Types/t/lib/TestLibrary.pm
/usr/share/doc/perl-MooseX-Types/t/lib/TestLibrary2.pm
/usr/share/doc/perl-MooseX-Types/t/lib/TestNamespaceSep.pm
/usr/share/doc/perl-MooseX-Types/t/lib/TestWrapper.pm
/usr/share/doc/perl-MooseX-Types/t/regressions
/usr/share/doc/perl-MooseX-Types/t/regressions/01-is_subtype_of.t
/usr/share/doc/perl-MooseX-Types/t/zzz-check-breaks.t
/usr/share/licenses/perl-MooseX-Types
/usr/share/licenses/perl-MooseX-Types/LICENCE
/usr/share/man/man3/MooseX::Types.3pm.gz
/usr/share/man/man3/MooseX::Types::Base.3pm.gz
/usr/share/man/man3/MooseX::Types::CheckedUtilExports.3pm.gz
/usr/share/man/man3/MooseX::Types::Combine.3pm.gz
/usr/share/man/man3/MooseX::Types::Moose.3pm.gz
/usr/share/man/man3/MooseX::Types::TypeDecorator.3pm.gz
/usr/share/man/man3/MooseX::Types::UndefinedType.3pm.gz
/usr/share/man/man3/MooseX::Types::Util.3pm.gz
/usr/share/man/man3/MooseX::Types::Wrapper.3pm.gz
/usr/share/perl5/vendor_perl/MooseX
/usr/share/perl5/vendor_perl/MooseX/Types
/usr/share/perl5/vendor_perl/MooseX/Types.pm
/usr/share/perl5/vendor_perl/MooseX/Types/Base.pm
/usr/share/perl5/vendor_perl/MooseX/Types/CheckedUtilExports.pm
/usr/share/perl5/vendor_perl/MooseX/Types/Combine.pm
/usr/share/perl5/vendor_perl/MooseX/Types/Moose.pm
/usr/share/perl5/vendor_perl/MooseX/Types/TypeDecorator.pm
/usr/share/perl5/vendor_perl/MooseX/Types/UndefinedType.pm
/usr/share/perl5/vendor_perl/MooseX/Types/Util.pm
/usr/share/perl5/vendor_perl/MooseX/Types/Wrapper.pm
References
Summary
In this tutorial we learn how to install perl-MooseX-Types
on Rocky Linux 8 using yum and dnf.