Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Installed CPAN Modules in Problematic Location

by Anonymous Monk
on Nov 13, 2015 at 23:30 UTC ( #1147692=note: print w/replies, xml ) Need Help??


in reply to Re: Installed CPAN Modules in Problematic Location
in thread Installed CPAN Modules in Problematic Location

The CPAN configuration program now defaults the installation location to local (lib::local or such. Choose the second option (sudo) for a system-wide install.
  • Comment on Re^2: Installed CPAN Modules in Problematic Location

Replies are listed 'Best First'.
Re^3: Installed CPAN Modules in Problematic Location
by Anonymous Monk on May 31, 2016 at 20:59 UTC
    On a new Centos 7 machine, I found that "yum install cpan" caused some lines to be added to ~root/.bashrc which set the Perl environment variables to use a local installation path, rather than the system-wide path. I removed those lines, removed ~root/perl5 and ~root/.cpan, logged out, and logged back in. Then I ran through the whole cpan setup again, and it worked fine, using the system-wide locations for Perl module installation.
      solution worked the first try !!
      That's it. The perfect answer that worked like a charm. Thank you!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1147692]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2018-10-21 18:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (119 votes). Check out past polls.

    Notices?