在AIX系统安装python

1 下载安装文件,地址为:

http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html

python-2.3.4-4.aix5.3.ppc.rpm                  --python

python-devel-2.3.4-4.aix5.3.ppc.rpm        --python-devel

python-tools-2.3.4-4.aix5.3.ppc.rpm         -- python-tools

 

2 执行 rpm -ivh python-2.3.4-4.aix5.3.ppc.rpm

  如出现下面提示:
  error: failed dependencies:
        libgdbm.a(libgdbm.so.3) is needed by python-2.3.4-4
        libreadline.a(libreadline.so.4) is needed by python-2.3.4-4

  则还要下载另外下载如下安装文件:

        readline-4.3-2.aix5.1.ppc.rpm

        readline-devel-4.3-2.aix5.1.ppc.rpm

        gdbm-1.8.3-5.aix5.2.ppc.rpm

        gdbm-devel-1.8.3-5.aix5.2.ppc.rpm

3 切换到root用户,如下顺序执行即可:

    bash-3.2# rpm -ivh gdbm-1.8.3-5.aix5.2.ppc.rpm
    gdbm                        ##################################################
    bash-3.2# rpm -ivh gdbm-devel-1.8.3-5.aix5.2.ppc.rpm
    gdbm-devel                  ##################################################
    bash-3.2# rpm -ivh readline-4.3-2.aix5.1.ppc.rpm
    readline                    ##################################################
    bash-3.2# rpm -ivh readline-devel-4.3-2.aix5.1.ppc.rpm
    readline-devel              ##################################################
    bash-3.2# rpm -ivh python-2.3.4-4.aix5.3.ppc.rpm
    python                      ##################################################
    bash-3.2# rpm -ivh python-devel-2.3.4-4.aix5.3.ppc.rpm
    python-devel                ##################################################
    bash-3.2# rpm -ivh python-tools-2.3.4-4.aix5.3.ppc.rpm
    python-tools                ##################################################

 

 

 

你可能感兴趣的:(Linux系统)