Installing Perl Modules

Best one

http://www.thegeekstuff.com/2008/09/how-to-install-perl-modules-manually-and-using-cpan-command/

Best Link

How to install perl modules through CPAN on ubuntu hardy server

Filed under: PerlUbuntu — Tags: PerlUbuntu Hardy — egoleo @ 1:53 pm

This assumes that you have grabbed a copy of the ubuntu hardy server
cd from the ubuntu.com website.

1. Install all dependent packages for CPAN
sudo  apt-get install build-essential

2. invoke the cpan command as a normal user

$cpan

But once you hit on enter for “cpan” to execute, you
be asked of some few questions. To make it simple for
yourself, answer “no” for the first question so that
the latter ones will be done for you automatically.

3. Once the above is done, you will be present with the cpan
prompt. now enter the commands below

make install

install Bundle::CPAN

4. Now all is set and you can install any perl module you want. examples of what installed below

cpan prompt>  install  IO::File
cpan prompt>  
install  Net::SMTP_auth
cpan prompt>  
Email::MIME::Attachment::Stripper
cpan prompt>  
Mail::POP3Client

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s