Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Installed CPAN Modules in Problematic Location

by Anonymous Monk
on May 31, 2016 at 20:59 UTC ( #1164640=note: print w/replies, xml ) Need Help??


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

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.
  • Comment on Re^3: Installed CPAN Modules in Problematic Location

Replies are listed 'Best First'.
Re^4: Installed CPAN Modules in Problematic Location
by altaf2301 (Novice) on Apr 17, 2017 at 17:44 UTC
    solution worked the first try !!
Re^4: Installed CPAN Modules in Problematic Location
by Anonymous Monk on Dec 22, 2017 at 05:10 UTC
    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://1164640]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2018-08-18 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (185 votes). Check out past polls.

    Notices?