Page 1 of 1

Installing PERL

Posted: Tue Oct 20, 2015 6:03 pm
by cah
Go to the following URL to download the source code:

http://www.cpan.org/src/

Steps (version can be changed):

Code: Select all

     wget http://www.cpan.org/src/5.0/perl-5.22.0.tar.gz
     gzcat perl-5.22.0.tar.gz | tar xf -
     cd perl-5.22.0
     ./Configure -des -Dprefix=$HOME/localperl
     make
     make test
     make install
Forcing 64-bit compiling:

Code: Select all

./Configure -ders -Dprefix=/usr/perl5/5.22.0 -Dcc=gcc -Dusethreads -Duseithreads -Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth= -Uloclibpth= -Duse64bitall -Ud_strerror_r -Ud_signbit -Duselargefiles
make
make test
make install