MIDAS KnowledgebaseMIDAS Knowledgebase

How to install Perl modules

Our web-based Room Booking and Resource Scheduling system, MIDAS is written in the Perl programming language. Perl is available for all major web servers, and installed as standard on most web servers nowadays.

If Perl isn't available on your server, it must first be installed & configured before you can install and run MIDAS.

MIDAS also requires a number of Perl "modules", many of which are included in the default installation of Perl. Once you've installed Perl, our Server Readiness Tool will then help you to identify any missing Perl modules required by MIDAS.

This article outlines how to install any missing modules identified through our Server Readiness Tool, or when attempting to install MIDAS on your server.

WHM/cPanel How to install Perl modules via WHM

  1. Login to your WHM
  2. Locate/search for "Install a Perl Module" in the left hand menu
  3. On the "Install a Perl Module" screen, enter the name of the module you wish to install and click "Install Now":
    How to install a Perl module in WHM

Linux How to install Perl modules via the command line (Linux-based systems)

Before installing Perl modules for the first time, you'll need to ensure that the CPAN Perl Module installer has been installed, to do this from the command line (bash):
# yum install perl-CPAN make gcc
# cpan
You'll then be prompted to configure CPAN for the first time.
Once complete, at the cpan prompt, type o conf commit to save settings, followed by quit to exit the cpan prompt.

You'll only need to do the above once. Once CPAN has been installed, installing a Perl module is as simply as entering the following command:

# perl -MCPAN -e 'install <module_name>'

ActivePerl How to install Perl modules via ActivePerl

ActivePerl comes with a Perl Package Manager (PPM) which allows you to easily install additional Perl modules.
Instructions for how to install Perl modules via PPM may be found in our Install & Configure Perl on Windows guide.
Vendor documentation on how to use the PPM tool may also be found here

Cygwin How to install Perl modules via Cygwin

Open the Cygwin Terminal, and type:
$ perl -MCPAN -e shell
cpan> install <module_name>

...or just:
$ cpan <module_name>

Note: You'll need to ensure that "Make" is installed as part of your Cygwin setup in order to be able to install Perl modules. To install "Make", run your Cygwin setup again and you'll find "Make" listed under "Devel" category

Strawberry Perl How to install Perl modules via Strawberry Perl

Open the Cpan Client, and type:
cpan> install <module_name>
You might also be interested in...
» » »

← Return to Knowledgebase