作者:mobiledu2502909533 | 来源:互联网 | 2023-09-14 13:01
有个同事要在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.
http://www.gaodaima.com/34907.htmlAIX下安装Python2.2_sqlserver
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即可。
欢迎大家阅读《AIX下安装Python2.2_sqlserver》,跪求各位点评,若觉得好的话请收藏本文,by