[Email protected] ~]# wget http://www.cpan.org/src/5.0/perl-5.26.1.tar.gz
[Email protected] perl-5.26.1]# cd/usr/local/
[Email protected] perl-5.26.1]# tar zxvf/root/perl-5.26.1.tar.gz
[Email protected] local]# CD PERL-5.26.1/
[Email protected] perl-5.26.1]#./configure-de
[[email protected] perl-5.26.1]# make
[[email protected] perl-5.26.1]# make test
[[email protected] perl-5.26.1]# make install
Test the installation results:
[Email protected] perl-5.26.1]# perl-v
This is Perl 5, version A, Subversion 1 (v5.26.1) built for X86_64-linux
Copyright 1987-2017, Larry Wall
Perl May is copied only under the terms of either the artistic License or the
GNU general public License, which is found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should is found on
This system using "Man Perl" or "Perldoc perl". If you had access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
[Email protected] perl-5.26.1]#
Write the first program using Perl:
[Email protected] perl-5.26.1]# perl-e ' print ' Hello world! \ n "';
Hello World!
Installing Perl under Linux