CPAN

From CsWiki
Revision as of 11:18, 16 March 2009 by Irush (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

When you need a perl module and the system can't or won't install it for you, the best option is usually to install it manually through cpan (Comprehensive Perl Archive Network).

This page gives instructions for configuring cpan to install perl modules in your home directory (or any other place you have permission to write in the cs filesystems). For general information and usage of cpan please refer to the cpan inline help, the cpan man page or google.

Install

First step is to create the proper directory tree:

mkdir -p ~/.cpan/CPAN

Next, download our preconfigured MyConfig.pm template into ~/.cpan/CPAN