Show Table of Contents
2.2.10.2. Installation
Perl's capabilities can be extended by installing additional modules. These modules come in the following forms:
- Official Red Hat RPM
- The official module packages can be installed with
yumorrpmfrom the Red Hat Enterprise Linux repositories. They are installed to/usr/share/perl5and either/usr/lib/perl5for 32bit architectures or/usr/lib64/perl5for 64bit architectures. - Modules from CPAN
- Use the
cpantool provided by the perl-CPAN package to install modules directly from the CPAN website. They are installed to/usr/local/share/perl5and either/usr/local/lib/perl5for 32bit architectures or/usr/local/lib64/perl5for 64bit architectures. - Third party module package
- Third party modules are installed to
/usr/share/perl5/vendor_perland either/usr/lib/perl5/vendor_perlfor 32bit architectures or/usr/lib64/perl5/vendor_perlfor 64bit architectures. - Custom module package / manually installed module
- These should be placed in the same directories as third-party modules. That is,
/usr/share/perl5/vendor_perland either/usr/lib/perl5/vendor_perlfor 32bit architectures or/usr/lib64/perl5/vendor_perlfor 64bit architectures.
Warning
If an official version of a module is already installed, installing its non-official version can create conflicts in the
/usr/share/man directory.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.