Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

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!

How to Find Out the Version of your Ubuntu Installation

To find out the version of Ubuntu you are running, go to your prompt:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 9.04
Release:        9.04
Codename:       jaunty