Your Webhosting Questions
Answered by the Webhosting Experts

Install Perl Module

On a server with CPanel, you can log into the WHM and install it there. If that
for some reason doesn’t work for you, you can log into the shell as root and install
it via the command line.
Once logged in, from any directory, type:

echo "HTML::Template" | /usr/local/cpanel/whostmgr/bin/perlmod -i

(in this case, the module we want to install is HTML::Template).

On a RedHat server, you can install it with up2date if you know the name of the RPM. If you don’t know it you can run ‘up2date --showall | grep -i perl‘. Then select the RPM you want and install it via up2date.

If the module you want still isn’t present you can install it manually via CPAN. Note that these modules are completely unsupported. If you wish to procede with the installation you can run ‘perl -MCPAN -e shell’ and interactively install the module. For example if you wanted to install Time::HiRes you would type ‘install Time::HiRes’ on the CPAN prompt.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +