Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: Changing module install path

by fkento (Acolyte)
on Mar 23, 2016 at 14:23 UTC ( [id://1158629]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Changing module install path
in thread Changing module install path

The problem is I want to run scripts written by other people and I don't want to have to modify the include path every time. I just need to know how to install modules under /usr instead of /root.

Thanks

Replies are listed 'Best First'.
Re^5: Changing module install path
by fkento (Acolyte) on Mar 24, 2016 at 16:41 UTC

    I ended up fixing the issue. The first time you run cpan it asks if you want to use "local::lib" "sudo" or "manual". I chose "local::lib" but I should have chose "sudo". Unfortunately I couldn't find a way to re-run the initial cpan setup wizard so I just reloaded the OS and started over. This was new server anyway so it wasn't a big deal.

    Thanks for your help

    Kent

      To re-run the initial cpan setup wizard use CPAN::FirstTime
      perl -MCPAN::FirstTime -e " CPAN::FirstTime::init() "

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-28 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found