Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-16-2005, 06:49 PM   #1
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
How do I install cpan?

How do I install cpan? I installed the RPM but get not found:
711 wget
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]# cpan
-bash: cpan: command not found
Old 11-16-2005, 11:28 PM   #2
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon, Debian
Posts: 278

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


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
perl module Audio::MPEG CPAN install secesh Programming 6 08-12-2014 09:53 PM
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 Linux - Software 0 09-17-2004 01:55 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:50 PM.

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