Created
August 6, 2014 11:56
-
-
Save drewsberry/b43d37b8a62abdc89c91 to your computer and use it in GitHub Desktop.
Install cpanm locally and set it to install all CPAN modules locally
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -O- http://cpanmin.us | perl - -l ~/Programs/perl5 App::cpanminus local::lib | |
eval `perl -I ~/Programs/perl5/lib/perl5 -Mlocal::lib` | |
echo 'eval `perl -I ~/Programs/perl5/lib/perl5 -Mlocal::lib`' >> ~/.profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: http://stackoverflow.com/questions/2980297/how-can-i-use-cpan-as-a-non-root-user