activeperl linux glibc gcc,ACTIVEPERL在LINUX下的安装

注:具体需要多少版本就装多少的,一般官方linux x86_64的package适应大多数较新linux系统

但是glibc依赖比较重要 5.18 只要2.5  5.20要2.15

具体情况看官方文档,缺PACKAGE还得补装,亲测可行

1) 安装ACTIVESTATE的PERL

可以直接下载TAR格式的,解压后执行解压文件下面的安装脚本

sh install.sh

即可安装完毕。关于这一点,可以参见解压文件下的README.txt说明文档。

2)配置环境变量

[root@localhost ~]# vi /etc/profile.d/perl.sh 设置环境变量:内容如下:(本人的ActivePerl是安装在opt目录下)    #set perl environment #set perl environment PERL5LIB=/opt/ActivePerl-5.10/lib:/opt/ActivePerl-5.10/site/lib PATH=/opt/ActivePerl-5.10/bin:/opt/ActivePerl-5.10/site/bin:$PATH export PERL5LIB  PATH [root@localhost ~]# source /etc/profile.d/perl.sh bash: /root: is a directory [root@localhost ~]# echo $PERL5LIB /opt/ActivePerl-5.10/lib [root@localhost ~]# perl -v This is perl, v5.10.1 built for x86_64-linux-thread-multi (with 2 registered patches, see perl -V for more detail) Copyright 1987-2009, Larry Wall Binary build 1006 [291086] provided by ActiveState http://www.ActiveState.com Built Aug 24 2009 13:44:06 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.org/, the Perl Home Page.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值