LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-19-2009, 04:20 PM   #1
unkie888
Member
 
Registered: Aug 2007
Posts: 67

Rep: Reputation: 26
Can't locate CPAN.pm in @INC


When I do this:

Code:
perl -MCPAN -e shell
I get this:

Code:
Can't locate CPAN.pm in @INC
 
Old 08-19-2009, 04:22 PM   #2
unkie888
Member
 
Registered: Aug 2007
Posts: 67

Original Poster
Rep: Reputation: 26
Smile

I fixed it - by doing this:

Code:
yum install perl-CPAN
 
1 members found this post helpful.
Old 08-19-2009, 04:30 PM   #3
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
For what it's worth, if your package manager (yum) provides CPAN, it may also provide lots of the modules that you would install via CPAN. Just something to check out, since it may make your life easier to install the modules with yum.
 
Old 05-17-2015, 12:24 PM   #4
jasoncurrell
LQ Newbie
 
Registered: May 2015
Location: Vancouver
Distribution: Amazon AWS, Cento-OS
Posts: 1

Rep: Reputation: Disabled
With Amazon AWS make sure you install:

yum install perl-core
 
  


Reply



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
cpan MODULES jova626 Programming 7 05-01-2008 01:18 PM
cpan help unixshell101 Linux - Software 5 07-06-2007 10:45 PM
cpan> locate -u Unknown shell command 'locate -u'. Type ? for help. sharad2005 Linux From Scratch 1 08-04-2006 12:40 AM
CPAN as root? LocoMojo Linux - Software 2 01-19-2006 07:27 PM
CPAN Error fritzlero Programming 1 11-20-2000 08:16 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration