1.下载http://www.perl.com/CPAN/src/perl-5.6.2.tar.gz(这个不是最新最新版本的)
2.拷贝到/usr/local/perl 下
3.解压gunzip perl-5.6.2.tar.gz tar -xvf perl-5.6.2.tar
4.进入目录下
rm -f config.sh Policy.sh
sh Configure -de
make
make test
make install
config.sh Policy.sh 为以前安装时的配置文件,新安装或升级安装时
需要将其删除。
[root@one perl]# perl -v
This is perl, v5.6.2 built for i686-linux
Copyright 1987-2003, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
安装好了!