Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


install_configure_cpan

This is an old revision of the document!


Installing CPAN:

First make sure ncftp is installed.

# rpm -ivh ncftp-3.1.9-1.i386.rpm
# perl -MCPAN -e shell

Then you can install a module:

# export FTP_PASSIVE=1
# cpan install Date::Manip (or cpan Date::Manip)
# cpan install Bundle::CPAN // (or cpan Bundle::CPAN)

Updating the currently installed version of CPAN:

# cpan
cpan> install CPAN
cpan> reload cpan
cpan> exit

No easy way to uninstall a perl module, but here are two possible links:

http://stackoverflow.com/questions/2626449/how-can-i-de-install-a-perl-module-installed-via-cpan

http://search.cpan.org/~xaicron/App-pmuninstall-0.29/bin/pm-uninstall

install_configure_cpan.1347418882.txt.gz · Last modified: 2012/09/11 23:01 by juckins