Sunday, November 24, 2013

CPAN to install Perl modules

CPanel has a internal script for using CPAN to install Perl modules. Learn it and love it:
/scripts/perlinstaller
Most common Perl modules can be installed from WHM ~> Install a Perl Module, or from command line. If you don't know the name of the Perl module you're installing, you may want to use the WHM installer instead, as it has a search feature and its usage is pretty self-explanatory.
For command line installations, pass the name of the perl module (case-sensitive) to the installer like so:
/scripts/perlinstaller MD5
/scripts/perlinstaller IO::Compress::Base
If the module is already installed and you need to update or reinstall it, pass –force:
/scripts/perlinstaller –force MD5
Since cPanel 11, you can now also allow your users to install their own perl modules locally in /home/$user/perl (which is automatically added to their Perl module path) so they don't have to bug you when they need a Perl module, nor to they need SSH access. You can enable this in WHM ~> Module Installers ~> Perl Module [Manage] . You do need to have compilers enabled for users though, which can be done in WHM ~> Security Center ~> Compilers Tweak .

11 comments:

  1. I comment when I like a post on a site or if I have something to contribute to the conversation.
    It is triggered by the fire displayed in the post I looked at.
    And after this article ENEKUM VENAM ORU BLOG | CPAN to install Perl modules.
    I was moved enough to leave a thought :) I actually do have a couple of questions for
    you if you do not mind. Is it just me or does it give the impression like some of the responses look like they are written by
    brain dead individuals? :-P And, if you are writing at additional online social sites, I
    would like to follow anything new you have to post.
    Would you list all of your public pages like your twitter feed, Facebook page or linkedin profile?

    ReplyDelete
  2. TҺank you a bunch foг sharing this with all of us you
    actually recognise what you are talking ɑpproximately!
    Bookmarked. Қindly also talk over with my web site =).
    We caո have a link change contract among us

    ReplyDelete
  3. I am really pleased to glance at this weblog posts which includes
    lots of valuable data, thanks for providing these kinds of data.

    ReplyDelete
  4. This is very interesting, You're a very skilled blogger.
    I have joined your feed and look forward to seeking more of
    your fantastic post. Also, I've shared your site in my social networks!

    ReplyDelete
  5. I do consider all of the concepts you have presented on your
    post. They're really convincing and can certainly work.
    Nonetheless, the posts are too brief for starters.
    May just you please lengthen them a little from next time?
    Thank you for the post.

    ReplyDelete
  6. My brother suggested I may like this website. He was entirely right.
    This publish actually made my day. You cann't believe simply how so
    much time I had spent for this info! Thank you!

    ReplyDelete
  7. I am regular visitor, how are you everybody? This post posted
    at this web page is in fact nice.

    ReplyDelete
  8. Greetings! Very helpful advice in this particular post!
    It is the little changes that will make the most important changes.
    Thanks for sharing!

    ReplyDelete
  9. Very nice post. I just stumbled upon your weblog and wished to say that I have really enjoyed surfing around your blog posts.
    After all I will be subscribing to your feed
    and I hope you write again soon!

    ReplyDelete
  10. Awesome issues here. I'm very satisfied to look your post.
    Thank you so much and I'm taking a look ahead
    to touch you. Will you please drop me a e-mail?

    ReplyDelete
  11. Hello! Would you mind if I share your blog with my myspace group?
    There's a lot of folks that I think would really enjoy your
    content. Please let me know. Thank you

    ReplyDelete