How to bootstrap cpanm, local::lib, or perlbrew:
perlbrew
As a normal user:
- curl -L http://xrl.us/perlbrewinstall | bash
- it appears in ~/perl5/perlbrew/bin/perlbrew
cpanm
As a normal user:
- curl -L http://cpanmin.us | perl - App::cpanminus
- it appears in ~/perl5/bin/cpanm
Or, as root:
curl -L http://cpanmin.us | perl - --sudo App::cpanminus
local::lib
As a normal user:
- install and use cpanm, it will use local::lib (somewhat) automatically
- (via --local-lib=~/perl5, which can be permanently set via PERL_CPANM_OPT)