Perl下载页面 https://www.activestate.com/activeperl/downloads 按系统下载
我的Linux系统自带的perl是5.10的;
0 1 2 3 |
# perl -v ... This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi ... |
现在我要装最新版本的5.26
0 1 2 3 4 5 |
# wget http://downloads.activestate.com/ActivePerl/releases/5.26.0.2600/ActivePerl-5.26.0.2600-x86_64-linux-glibc-2.15-403863.tar.gz # tar -zxvf ActivePerl-5.26.0.2600-x86_64-linux-glibc-2.15-403863.tar.gz # cd ./ActivePerl-5.26.0.2600-x86_64-linux-glibc-2.15-403863 # ls ACTIVEPERL.txt LICENSE.txt RELEASE.txt perl CHANGES.txt README.txt install.sh support |
执行安装文件,如果有报错提示:perl/bin/perl: /lib64/libc.so.6: version `GLIBC_2.14′ not found (required by perl/bin/perl),请看CentOS中安装Perl时出错解决方法 Continue reading