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.

CentOS/RHEL/OpenSUSE

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

otrs.CheckModules.pl 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 !!!

    Reply

Reply

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=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">