Created
July 6, 2023 11:41
-
-
Save manwar/868aeb07ef4b445b55f726b02a79544d to your computer and use it in GitHub Desktop.
Install Perl v5.38 using Perlbrew
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 Perl v5.38 using Perlbrew | |
1) Download the tar ball | |
$ wget https://cpan.metacpan.org/authors/id/R/RJ/RJBS/perl-5.38.0.tar.gz | |
2) Copy the tar ball to correct folder | |
$ cp perl-5.38.0.tar.gz ~/perl5/perlbrew/dists/ | |
3) Install Perl v5.38 now | |
$ perlbrew install perl-5.38.0 | |
Failed with test failures | |
4) Retried with --force | |
$ perlbrew --force install perl-5.38.0 | |
Even this failed miserably with test failures. | |
5) One last attemp, like below: | |
$ perlbrew --notest install perl-5.38.0 | |
Got lucky third time, finally. | |
6) Test the install | |
$ ~/perl5/perlbrew/perls/perl-5.38.0/bin/perl -V:version | |
version='5.38.0'; | |
7) Create alias for the latest version. | |
$ alias p538='~/perl5/perlbrew/perls/perl-5.38.0/bin/perl' | |
8) Final testing the alias. | |
$ p538 -V:version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment