![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2xf0ffKBdAYxdtSQm6FenFWDboCNxin-JAiTbbaNWfoIoMiVZYRBcLa_cdkfLEuSgKzTuj_kdSmIY7JJ3bgZrY7SF5q-lLmQezfi6TLP_rWy9B6UPKyJfeg7ccIu7_HnJCIR1/s200/perl.jpg)
Now take the following steps:
1) Extract the archive
- [root@pubjo root]# gunzip latest.tar.gz
- [root@pubjo root]# tar –xvf latest.tar
2) Run the configuration
- [root@pubjo root]# ./Configure -de -Dprefix=/usr -Dcccdlflags='-fPIC' -Dd_dosuid -Darchname=i386-linux -Dprivlib=/usr/lib/perl5 -Darchlib=/usr/lib/perl5/i386-linux -Dsitelib=/usr/lib/perl5/site_perl -Dsitearch=/usr/lib/perl5/site_perl/i386-linux
3)Make the installation:
- [root@pubjo root]# make
- [root@pubjo root]# make test
- [root@pubjo root]# make install
This is all there is to compiling Perl from the source code. If all went without problems you will now have a working version of perl on your system. To check you can execute the following command:
- [root@pubjo root]# perl –version
No comments:
Post a Comment