ACTIVEPERL在LINUX下的安装
来源:互联网 发布:易名域名 编辑:程序博客网 时间:2024/05/22 13:24
参考:http://fhqdddddd.blog.163.com/blog/static/18699154200910323316916/
注:具体需要多少版本就装多少的,一般官方linux x86_64的package适应大多数较新linux系统
但是glibc依赖比较重要 5.18 只要2.5 5.20要2.15
具体情况看官方文档,缺PACKAGE还得补装,亲测可行
1) 安装ACTIVESTATE的PERL
可以到http://www.activestate.com/activeperl/downloads下载各种OS下的编译好的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.
- ACTIVEPERL在LINUX下的安装
- 在Windows下执行 ACE 的 generate_export_file.pl 需要先安装 ActivePerl
- Windows下用ActivePerl的PPM安装Perl模块
- ActivePerl安装perl脚本转exe工具pp的方法
- ACTIVEPERL 5.10无法ppm安装
- ActivePerl从源码安装模块
- PHP4.03在linux下的安装
- Oracle在Linux下的安装
- subversion 在Linux 下的安装配置
- 在linux下安装MySQL的步骤
- openvpn在linux下的安装
- mrtg在linux下的安装
- veritas在linux下的安装
- NS在linux下的安装过程
- Oracle8i在linux下的安装(中文)
- PHP4.03在linux下的安装
- Mplayer在Linux下的安装
- 在Linux 下安装Matlab7的过程
- Unity3D中Blendshapes之间的过渡方式
- 信号量(Semaphore) 例子
- C++ 图片自适应 picture control 控件大小 不失真显示
- Introduction to Java Programming编程题9.17<统计文件行、字符、单词数>
- NSLog技巧
- ACTIVEPERL在LINUX下的安装
- 【HAOI2008】【BZOJ1041】圆上的整点
- 0-1背包问题:C++
- intellij idea 打包war包
- Spring MVC详解(七) 注解式控制器的数据验证、类型转换及格式化(2)
- 开通博客喽~
- UIWebView的三种加载方式
- nginx 如何安装 nginx_lua_module 模块 以及 echo-nginx-module 模块
- 12. jQuery - 获得内容和属性