Top Secret Area!!!

Recommended Sites
xgusties.com
craigmile.com
programming

Perl - Running CPAN as a non-root user

Running CPAN.pm when not logged in as the root user is actually more simple than it first appears. Follow the 2 steps below and you'll get it sorted.

Step 1 - Start CPAN

run perl -MCPAN -shell

Step 2 - When it asked for Parameters for the 'perl Makefile.PL' command? type:

PREFIX=~/apps/ LIB=~/apps/lib/perl5/site_perl INSTALLMAN1DIR=~/apps/man/man1 INSTALLMAN3DIR=~/apps/man/man3

Posted: 11th July 2004