欢迎光临
我们一直在努力

AIX下安装Python2.2-数据库专栏,SQL Server

建站超值云服务器,限时71元/月

有个同事要在aix5下使用python脚本,折腾了半天,算是安装上了,总结如下:
1、
从 aix toolbox for linux applications :
http://www-1.ibm.com/servers/aix/products/aixos/linux/download.html
下载:
python-devel2.2licenserpmsourcethe libraries and header files needed for python extension development.python-docs2.2licenserpmsourcedocumentation for the python programming language.python-tools2.2licenserpmsourcea collection of development tools included with python.python2.2licenserpmsourcean interpreted, interactive, object-oriented programming language.
readline-devel4.3licenserpmsourcedevelopment files for programs which will use the readline library.readline4.3licenserpmsourcea library for reading and returning lines from a terminal.
2、下载如下文件:

ftp://ftp.software.ibm.com/aix/freesoftware/aixtoolbox/rpms/ppc/db/db-3.3.11-3.aix4.3.ppc.rpm
ftp://ftp.software.ibm.com/aix/freesoftware/aixtoolbox/rpms/ppc/expat/expat-1.95.2-4.aix5.1.ppc.rpm
ftp://ftp.software.ibm.com/aix/freesoftware/aixtoolbox/rpms/ppc/gdbm/gdbm-1.8.0-5.aix4.3.ppc.rpm
ftp://ftp.software.ibm.com/aix/freesoftware/aixtoolbox/rpms/ppc/readline/readline-4.3-1.aix5.1.ppc.rpm

3,安装:
登录aix,用root执行如下命令:
   rpm -ivh db-3.3.11-3.aix4.3.ppc.rpm
   rpm -ivh expat-1.95.2-4.aix5.1.ppc.rpm
   rpm -ivh gdbm-1.8.0-5.aix4.3.ppc.rpm
   rpm -ivh readline-4.3-1.aix5.1.ppc.rpm
环境准备好后,用rpm -ivh 安装python相关rpm即可。
  
  

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » AIX下安装Python2.2-数据库专栏,SQL Server
分享到: 更多 (0)