in reply to Re^2: How to install Perl modules locally on Unix?
in thread How to install Perl modules locally on Unix?
I was able to install local::lib in my home directory,
Did you set up the environment variables as described in the local::lib docs? For example, for bash, the docs suggest: echo 'eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"' >>~/.bashrc
Note that you have to log out and log back in once for this to take effect.
but don't have cpanm
Did you try the installation command I showed from the App::cpanminus docs (after setting up the environment vars)? That is: curl -L https://cpanmin.us | perl - App::cpanminus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to install Perl modules locally on Unix?
by slugger415 (Monk) on Nov 29, 2017 at 16:40 UTC | |
by haukex (Archbishop) on Dec 02, 2017 at 11:19 UTC | |
|
Re^4: How to install Perl modules locally on Unix?
by slugger415 (Monk) on Nov 28, 2017 at 19:16 UTC | |
by Your Mother (Archbishop) on Nov 28, 2017 at 19:32 UTC | |
by haukex (Archbishop) on Nov 28, 2017 at 20:11 UTC | |
by slugger415 (Monk) on Nov 28, 2017 at 21:48 UTC | |
by choroba (Cardinal) on Nov 28, 2017 at 23:09 UTC |