Difference between revision 3 and revision 4
Summary: https
Changed:
< The biggest problem is that Perl is too outdated (v5.8.3). You should install a newer version by using [[http://perlbrew.pl/ perlbrew]].
to
> The biggest problem is that Perl is too outdated (v5.8.3). You should install a newer version by using [[https://perlbrew.pl/ perlbrew]].
The biggest problem is that Perl is too outdated (v5.8.3). You should install a newer version by using perlbrew.
Install perlbrew:
sh: 1: pygmentize: not found
curl -k -L http://install.perlbrew.pl | bash
-k option is necessary, otherwise it will throw errors about https
Install perl:
sh: 1: pygmentize: not found
perlbrew --notest v5.16
tests will run for two hours if you don't disable them. There are many failed tests, but it seems like perl is fully functional anyway.
Show installed versions:
sh: 1: pygmentize: not found
perlbrew list
If everything went well, you will see perl-5.16.0
Switch to the newer version:
sh: 1: pygmentize: not found
perlbrew switch perl-5.16.0
Install cpanm:
sh: 1: pygmentize: not found
perlbrew install-cpanm
Install Device::SerialPort
sh: 1: pygmentize: not found
cpanm --no-wget --verbose Device::SerialPort
Install Hook::LexWrap
sh: 1: pygmentize: not found
cpanm --no-wget --verbose Hook::LexWrap
perlbrew is located at
sh: 1: pygmentize: not found
~/perl5/perlbrew/bin/perlbrew
cpanm is located at
sh: 1: pygmentize: not found
~/perl5/perlbrew/bin/cpanm
perl v5.16 is located at
sh: 1: pygmentize: not found
~/perl5/perlbrew/perls/perl-5.16.0/bin/perl
However, once you perlbrew switch
to your new perl, you wont have to provide full paths.