Friday, April 2, 2010

How to Download and Install PERL modules in Ubuntu

I haven't had any luck using CPAN to install PERL modules in Ubuntu.  The other day I was installing PERL modules while upgrading a bugzilla installation and using apt-cache and and apt-get did the trick!

For example, if you are looking for Email-Send module, use "apt-cache search":
# apt-cache search perl Email-Send

The following modules will be displayed:

libemail-send-io-perl - Send mail via IO::All
libemail-send-perl - Simply Sending Email

Now, to install the two modules above, use "apt-get install":
# apt-get install libemail-send-io-perl
# apt-get install libemail-send-perl

Good luck!

No comments:

Post a Comment