nav-left cat-right RSS
cat-right

Installing Perl Modules on Ubuntu Linux

perl
I’ve been a perl programmer/scripter/hacker for many years now, and I will frequently use CPAN modules to be able to do the out-of-the ordinary. This small guide is intended to help people easily install these modules.

First, let’s get the CPAN module up to date:

$ sudo perl -MCPAN -e shell
(take defaults to set everything up)
cpan> exit
$ sudo perl -MCPAN -e shell
cpan> install Bundle::CPAN

(answer yes to the question about saving data)
cpan> reload cpan

Then, to install a module, it’s simply:
$ sudo perl -MCPAN -e shell
cpan> install <name of module>

cpan> exit

Related posts:

  1. How to Rip DVDs on Ubuntu Linux 9.04 (Jaunty)
  2. How to Set Up a TiVo Media Server on Ubuntu Linux
  3. How to Mount External Drives Statically on Ubuntu Linux
  4. Fixing Xorg with Nvidia Driver ver 180.44
  5. How to Copy Videos from a Series 3 TiVo to Ubuntu Linux

3 Responses to “Installing Perl Modules on Ubuntu Linux”

  1. Using `cpan` program is easier.
    Simply type `cpan` to run shell or `cpan -i Module::Name` to install without shell.

  2. Ed says:

    Hmm, thanks for the tip! Learn something new every day! :)
    Ed´s last blog ..Installing Perl Modules on Ubuntu Linux My ComLuv Profile

Leave a Reply

CommentLuv Enabled