Install missing Perl modules for OTRS

I’m in Stockholm this week, training on OTRS. OTRS is packaged as an RPM for OpenSUSE and RHEL/CentOS, but the package maintainers have left a lot of basic steps for the user to run after install or upgrade. Here are commands to install all missing Perl modules for OTRS, both optional and required.


This is tested on CentOS 6 with OTRS RPM install and EPEL repository. This probably works on CentOS 5, RHEL, and OpenSUSE as well.

Other Linux Distributions

On other Linux distributions without yum, use CPAN. This should work on Debian, Ubuntu, or other systems with an OTRS source install.

How it works outputs a list of all required or optional Perl modules:

We take that output, search for “Not installed”, and then use sed to manipulate it into a list of arguments to the installer:

Tags: , ,

  1. enrique’s avatar

    very good
    tanks !!!


  2. Maddy’s avatar

    Hi Team ,

    I could not able to install the below modules on RHEL 6 using CPAN or YUM .
    PLease kindly help me ~~~~

    CPAN: Module::Build loaded ok (v0.421)
    Configuring L/LD/LDS/GD-2.56.tar.gz with Build.PL
    Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher.
    Warning: No success on command[/usr/bin/perl Build.PL –installdirs site]
    /usr/bin/perl Build.PL –installdirs site — NOT OK


  3. Maddy’s avatar

    o DBD::Oracle………………….Not installed! (optional – Required to connect to a Oracle database.)
    o GD………………………….Not installed! (optional – Required for stats.)
    o GD::Text…………………..FAILED! Not all prerequisites for this module correctly installed.
    o GD::Graph………………….FAILED! Not all prerequisites for this module correctly installed.



Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">