Install a Perl module in cPanel

In this article I’ll show you how to install a Perl module on your cPanel account, which can extend the capabilities of your Perl scripts.

It’s very common in programming for people to say don’t reinvent the wheel, basically if something already exists and does a really good job at it, there is no need to rebuild it again from the ground up.

With the Perl programming language, there are what are called Perl modules, and these allow you to use already written code and functions in your own scripts very easily.

Install a Perl Module

Following the steps below, I’ll walk you through how easy it is to install a Perl module on your cPanel account.

  1. Login to your cPanel
  2. Under the Software/Services section, click on Perl Modules.
  3. In the search box, type in the Perl module you’re looking for, in this example I’m searching for Authen::SASL, then click on Go.
  4. On the next page it should display all of the Perl modules that matched your search, in this case I’d want to click on the Install button beside Authen::SASL (2.16) to install the module I was searching for.
  5. There will be some scrolling text on the page as the Perl module is being installed, when it’s complete you should see a success message such as this:

    Successfully installed Authen-SASL-2.16
    1 distribution installed

That’s all there is to it, you should now have successfully installed your required Perl module that you were searching for.

Stormy Scott
Stormy Scott Content Marketing Writer

Stormy is a Content Marketing Writer at InMotion Hosting. Her content focus is WordPress, web design, and help articles for small businesses.

More Articles by Stormy

Was this article helpful? Let us know!