Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: cpanm --sudo installs to /root/perl5 instead of /usr

by Anonymous Monk
on Jun 26, 2012 at 04:33 UTC ( #978321=note: print w/replies, xml ) Need Help??


in reply to cpanm --sudo installs to /root/perl5 instead of /usr

What am I missing?

Probably some kind of Config entry -- see perl "-V:.*?usr.*?"   and   perl "-V:install.*" -- it all works off of Config and these overrides

Re: CPAN won't install into personal directory; probably an o conf problem, Re: My favorite pitfall: setting up CPAN
perl -I/home/user/stuff/lib/perl5 -S myfoobar.pl
perl -Mlib=/home/user/stuff/lib/perl5 -S myfoobar.pl

export PERLLIB=/home/user/stuff/lib/perl5
myfoobar.pl

export PERL_MM_USE_DEFAULT=1
export PERL_MB_OPT=--install_base /home/user/stuff
export PERL_MM_OPT=INSTALL_BASE=/home/user/stuff
export AUTOMATED_TESTING=0

cpan -fi Module Module Module Module Module Module

cpanp -i Module Module Module --allow_build_interactivity=0 --skiptest=0 --force --prereqs=1 --no_update=1

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://978321]
help
Chatterbox?
[Discipulus]: yees.. masonry, shaving of the ceiling (dunno if shaving is the right term..) 20hours in the weekend.. so veery good ;=)
[LanX]: yes I worked ...
[LanX]: ... and hope to get a free work day in compensation. :)
choroba went to a museum with the older children. The exhibition was called "American Indians".
[Discipulus]: this and...
[Discipulus]: shaving the ceil

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2018-02-19 10:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (261 votes). Check out past polls.

    Notices?