in reply to Re^3: Why won't local::lib tell me what to put in .bashrc?
in thread Why won't local::lib tell me what to put in .bashrc?
After looking through the local::lib docs on CPAN, I found that just running perl -Mlocal::lib gave me a set of environment-variable definitions that seem to be working:
export PERL_LOCAL_LIB_ROOT="/home/smorford/perl5"; export PERL_MB_OPT="--install_base /home/smorford/perl5"; export PERL_MM_OPT="INSTALL_BASE=/home/smorford/perl5"; export PERL5LIB="/home/smorford/perl5/lib/perl5/x86_64-linux-gnu-threa +d-multi:/home/smorford/perl5/lib/perl5"; export PATH="/home/smorford/perl5/bin:$PATH";
I stuck those at the end of my .bashrc, restarted my shell to set up the environment, and CPAN seems to be letting me install things locally now. Really curious why it didn't display those at the end of the setup procedure, though.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Why won't local::lib tell me what to put in .bashrc?
by marto (Cardinal) on Feb 13, 2014 at 10:36 UTC | |
by DarkMorford (Novice) on Feb 18, 2014 at 20:45 UTC | |
by marto (Cardinal) on Feb 18, 2014 at 21:57 UTC | |
by DarkMorford (Novice) on Feb 27, 2014 at 04:51 UTC | |
by marto (Cardinal) on Feb 27, 2014 at 07:31 UTC | |
|