Created
October 16, 2014 20:13
-
-
Save llkats/6abc5aba7493409199ea to your computer and use it in GitHub Desktop.
how to install perl
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
# install perlbrew http://perlbrew.pl/ | |
curl -L http://install.perlbrew.pl | bash | |
# follow the instructions to set perlbrew executable globally for your shell | |
# e.g., add the following line to your config.fish | |
. ~/perl5/perlbrew/etc/perlbrew.fish | |
# perlbrew should now be available to use | |
# use perlbrew to install latest perl | |
perlbrew install perl-5.16.0 | |
# switch to the latest perl | |
perlbrew switch perl-5.16.0 | |
# perl should be installed at ~/perl5 | |
# use perlbrew to install cpanm | |
perlbrew install-cpanm | |
# cpanm should be available to use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment