To support simplicity, possiibility and cost effective of PHP

Installing CPAN

Dec 4th, 2007 | By admin | Category: Uncategorized

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

I don’t know why Fedora core 8 does not install CPAN with Perl. Here is some step to install CPAN if you type

# perl -MCPAN -e shell

and receive error CPAN.pm not found.

Go to http://search.cpan.org to download CPAN package.

Extract the package to your home.

# perl Makefile.PL

# make

# make install

and that is you have CPAN ready to help you install other perl modules.

One more note about install perl modules with CPAN, sometime installation will fail the test and tell you that “won’t install without force”. You try to install again but still get error(s). It’s time you can “force” CPAN to install the module for you by using:

cpan> force install Module::Name

Tags: ,

Leave Comment