Skip to content

Instantly share code, notes, and snippets.

@llkats
Created October 16, 2014 20:13
Show Gist options
  • Save llkats/6abc5aba7493409199ea to your computer and use it in GitHub Desktop.
Save llkats/6abc5aba7493409199ea to your computer and use it in GitHub Desktop.
how to install perl
# 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