Install Perl modules on CentOS and RHEL

Contributors

Some Perl modules are not included by default with the Perl package for Linux.

During WFA installation, the WFA installer verifies that all of the Perl modules are available in the system, and then proceeds when this requirement is met. You must install the Perl modules before installing OnCommand Workflow Automation (WFA).

Note The WFA installer attempts to install the Perl modules automatically if the perl-modules are available in the yum repositories configured on the system. If the Perl modules are not available, the installer prompts the user to install the Perl modules manually. The one exception is the "perl-core" module. This module is not installed on the system automatically even if it is available in the yum repositories configured on the system. This is a known issue.
Perl Module RPM Package Name

Perl core modules

perl-core

DBI

perl-DBI

XML::DOM

perl-XML-DOM

Term::ReadKey

perl-TermReadKey

HTTP::Request

perl-libwww-perl

XML::LibXML perl-XML-LibXML

perl-XML-LibXML

DBD::mysql

perl-DBD-MySQL

URI::URL

perl-URI

HTTP::Response

perl-libwww-perl

HTTP::Headers

perl-libwww-perl

Net::SSLeay

perl-Net-SSLeay

URI::Escape

perl-URI

LWP::Protocol::https perl-LWP-Protocol-https

perl-LWP-Protocol-https

XML::Parser

perl-XML-Parser

LWP::UserAgent

perl-libwww-perl

Net::LDAP

perl-LDAP

Date::Calc

perl-Date-CalcXML

Steps
  1. Log in to the Linux server as a root user.

  2. Verify that all of the Perl modules required for WFA are installed on the system:

    ./WFA-4.2.0.0.0.bin -l

  3. If any Perl modules are not detected, check whether they are available in the configured repository:

    yum search Perl-module-name

    If the DBD::mysql module is not detected:

    yum search perl-DBD-MySQL

  4. If any Perl modules are not in the repository, configure the repository that contains the Perl module, or download the Perl module from the Internet.

  5. Install any missing Perl modules from the configured repository:

    yum -y install Perl-module-name

    Install the DBD::mysql module from the configured repository:

    yum -y install perl-DBD-MySQL