LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-16-2005, 06:49 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: Chicago
Distribution: CentOS
Posts: 1,249

Rep: Reputation: 53
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
 
Old 11-16-2005, 11:28 PM   #2
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon
Posts: 276

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install Perl module via CPAN Sparky.Watson Linux - Software 1 08-24-2005 08:23 PM
cPan install problems tobycatlin Linux - Software 13 05-23-2005 01:08 PM
Cpan install problem MicroSun Linux - Software 1 01-31-2005 08:39 AM
perl module Audio::MPEG CPAN install secesh Programming 0 09-17-2004 03:03 PM
perl module Audio::MPEG CPAN install secesh Linux - Software 0 09-17-2004 01:55 PM


All times are GMT -5. The time now is 11:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration