AIX下安裝Python2.2
2024-07-21 02:06:50
供稿:網友
有個同事要在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即可。