Installing PERL

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1342
Joined: Sun Aug 17, 2008 5:05 am

Installing PERL

Post 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
CAH, The Great
Post Reply