Knowledge Base

How to install Perl modules using cPanel

This article describes how to use cPanel to install Perl modules on your web site. The cPanel Perl Modules feature installs modules directly from the CPAN (Comprehensive Perl Archive Network) repository.

Installing a Perl module

To install a Perl module, follow these steps:

  1. In the SOFTWARE section of the cPanel home screen, click Perl Modules. The Perl Modules page appears.
  2. Under Location of Your Perl Module(s), the listed path is incorrect. Because A2 Hosting servers run Perl 5, the correct path is /home/username/perl5.
  3. Install the desired Perl module in one of the following ways:
    • Search for a Perl module. Type the name in the Find a “Perl Module” text box and then click Go. For example, to search for packages related to XML, type xml. Scroll down the list until you find the desired module and then click the Install link.
    • Click the Show Available Modules button. Scroll down the list until you find the desired module and then click the Install link.
    • If you already know the name of the module you want to install, type the module name under Install a Perl Module and then click Install Now.
  4. When installation is complete, click Go Back.
  5. The installed module is now listed under Installed Perl Module(s):

    • To update the module, click Update.
    • To reinstall the module, click Reinstall.
    • To uninstall the module, click Uninstall.
    • To view the documentation for the module, click Show Docs.
    • To view a list of modules installed systemwide, click Show System Installed Modules.

More Information

For more information about Perl modules, please visit http://www.cpan.org.