-
-
Save hexfusion/7230535 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
PERL_STABLE="5.16.1" | |
echo '%< --- installing perlbrew ---' | |
echo | |
curl -kL http://install.perlbrew.pl | bash | |
source ~/perl5/perlbrew/etc/bashrc | |
perlbrew install --notest perl-${PERL_STABLE} | |
perlbrew install-cpanm | |
perlbrew switch perl-${PERL_STABLE} | |
echo '%< --- installing carton ---' | |
echo | |
perlbrew lib create carton | |
perlbrew switch perl-${PERL_STABLE}@carton | |
source ~/perl5/perlbrew/etc/bashrc | |
cpanm Carton | |
echo '%< --- install finished ! ---' | |
echo 'Please add that source line to config' | |
echo '$ echo "source ~/perl5/perlbrew/etc/bashrc" >> ~/.bashrc' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment