LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I install cpan? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-install-cpan-383829/)

abefroman 11-16-2005 07:49 PM

How do I install cpan?
 
How do I install cpan? I installed the RPM but get not found:
711 wget ftp://ftp.nluug.nl/pub/os/Linux/dist...89.10.i386.rpm
713 rpm -ivh perl-CPAN-1.61-89.10.i386.rpm
714 cpane
715 cpan
716 updated
717 updatedb
718 locate cpan
719 cpane
720 cpan
721 cpan
722 history
[root]#
[root]# cpan
-bash: cpan: command not found

leandean 11-17-2005 12:28 AM

if you installed perl, chances are you already have CPAN installed. you just need the right command.

invoke CPAN such::
you@linux $>perl -MCPAN -e shell

then be prepared for a bunch of questions you can usually answer with 'enter'.
after you select your location it will ask which site you want CPAN to check for whichever module you want. type in: 1 2 3 4 ... to around 9. that way you'll be sure to get connected to at least one d'load site.

good luck


All times are GMT -5. The time now is 07:36 PM.