Make sure all CORE Perl modules are installed on Oracle Linux

I use CORE Perl modules very carefully - modules that are documented at http://perldoc.perl.org - whenever I can. For example, I use Time::Pieceinstead of DateTimeor IO::Uncompressrather than Archive::Zip.

We have thousands of servers managed by Chef, and we can guarantee that a specific version of Perl is installed, but it becomes a nightmare to ensure that certain CPAN modules are also installed.

Imagine my surprise when the script failed on the new server because it was Data::Dumpernot installed. This module was part of CORE modules from the earliest versions of Perl 5.

I found out that Oracle Linux Release 7 (which is modeled after RHEL 7) shared standard Perl packages, so core Perl no longer installs all CORE modules.

What RPMs do I need to install on Oracle Linux Release 7 (and probably RHEL 7) to ensure that all CORE Perl modules are installed?

+4
source share
1 answer

On RHEL 7 you need to install these packages :

  • perl: includes the Perl interpreter, perldoc, and a subset of the core modules.

  • perl-core: other kernel modules

I assume that Oracle Linux 7 is the same because in public yum there is perl-core-5.16.3-286.el7.x86_64.rpm REPO transactions .


, , perl-core , yum-utils :

repoquery --requires perl-core

(perl-core - -, perl-* )

+2

All Articles