如何安装python2.3版-2.3.4的安装

原创 2004年09月24日 19:09:00

1.下载相应的rpm包

wget http://www.python.org/ftp/python/2.3.4/rpms/fedora-1/python2.3-2.3.4-3pydotorg.i386.rpm
wget http://www.python.org/ftp/python/2.3.4/rpms/fedora-1/python2.3-devel-2.3.4-3pydotorg.i386.rpm
wget http://www.python.org/ftp/python/2.3.4/rpms/fedora-1/python2.3-tools-2.3.4-3pydotorg.i386.rpm
wget --passive ftp://rpmfind.rediris.es/sites2/fedora.us/fedora/fedora/1/i386/RPMS.os/db4-4.1.25-14.i386.rpm


[root@eygle soft]# wget http://www.python.org/ftp/python/2.3.4/rpms/fedora-1/python2.3-devel-2.3.4-3pydotorg.i386.rpm
--18:37:44--  http://www.python.org/ftp/python/2.3.4/rpms/fedora-1/python2.3-devel-2.3.4-3pydotorg.i386.rpm
           => `python2.3-devel-2.3.4-3pydotorg.i386.rpm'
Resolving www.python.org... done.
Connecting to www.python.org[194.109.137.226]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 678,130 [application/octet-stream]

100%[========================================================================================>] 678,130       28.14K/s    ETA 00:00

18:38:08 (28.14 KB/s) - `python2.3-devel-2.3.4-3pydotorg.i386.rpm' saved [678130/678130]

[root@eygle soft]# wget http://www.python.org/ftp/python/2.3.4/rpms/fedora-1/python2.3-tools-2.3.4-3pydotorg.i386.rpm
--18:38:11--  http://www.python.org/ftp/python/2.3.4/rpms/fedora-1/python2.3-tools-2.3.4-3pydotorg.i386.rpm
           => `python2.3-tools-2.3.4-3pydotorg.i386.rpm'
Resolving www.python.org... done.
Connecting to www.python.org[194.109.137.226]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 690,451 [application/octet-stream]

100%[========================================================================================>] 690,451       28.85K/s    ETA 00:00

18:38:35 (28.85 KB/s) - `python2.3-tools-2.3.4-3pydotorg.i386.rpm' saved [690451/690451]

[root@eygle soft]# wget --passive ftp://rpmfind.rediris.es/sites2/fedora.us/fedora/fedora/1/i386/RPMS.os/db4-4.1.25-14.i386.rpm
--18:39:35--  ftp://rpmfind.rediris.es/sites2/fedora.us/fedora/fedora/1/i386/RPMS.os/db4-4.1.25-14.i386.rpm
           => `db4-4.1.25-14.i386.rpm'
Resolving rpmfind.rediris.es... done.
Connecting to rpmfind.rediris.es[130.206.1.5]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /sites2/fedora.us/fedora/fedora/1/i386/RPMS.os ... done.
==> PASV ... done.    ==> RETR db4-4.1.25-14.i386.rpm ... done.

    [ <=>                                                                                     ] 1,480,750     21.89K/s            

18:40:46 (21.89 KB/s) - `db4-4.1.25-14.i386.rpm' saved [1480750]

[root@eygle soft]# wget http://www.python.org/ftp/python/2.3.4/rpms/fedora-1/python2.3-2.3.4-3pydotorg.i386.rpm
--18:40:55--  http://www.python.org/ftp/python/2.3.4/rpms/fedora-1/python2.3-2.3.4-3pydotorg.i386.rpm
           => `python2.3-2.3.4-3pydotorg.i386.rpm'
Resolving www.python.org... done.
Connecting to www.python.org[194.109.137.226]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7,565,683 [application/octet-stream]

100%[========================================================================================>] 7,565,683     29.37K/s    ETA 00:00

18:45:07 (29.37 KB/s) - `python2.3-2.3.4-3pydotorg.i386.rpm' saved [7565683/7565683]

2.安装

[root@eygle soft]# rpm -ivh db4-4.1.25-14.i386.rpm
warning: db4-4.1.25-14.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
warning: python2.3-2.3.4-3pydotorg.i386.rpm: V3 DSA signature: NOKEY, key ID 95ccbcff
Preparing...                ########################################### [100%]
        file /lib/libdb-4.1.so from install of db4-4.1.25-14 conflicts with file from package db4-4.1.25-8
        file /usr/lib/libdb_cxx-4.1.so from install of db4-4.1.25-14 conflicts with file from package db4-4.1.25-8

[root@eygle soft]# rpm -ivh python*.rpm
warning: python2.3-2.3.4-3pydotorg.i386.rpm: V3 DSA signature: NOKEY, key ID 95ccbcff
Preparing...                ########################################### [100%]
   1:python2.3              ########################################### [ 33%]
   2:python2.3-devel        ########################################### [ 67%]
   3:python2.3-tools        ########################################### [100%]

3.调用
使用python2.3来进入python,原来的版本可以使用python来调用

[root@eygle soft]# python2.3
Python 2.3.4 (#1, Jul 22 2004, 20:47:54)
[GCC 3.3.2 20031022 (Red Hat Linux 3.3.2-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

python-3.4.2

  • 2016年08月30日 18:58
  • 23.39MB
  • 下载

python-3.4.2.msi windows安装包

  • 2014年12月25日 16:00
  • 23.39MB
  • 下载

Linux 源代码 安装vsftpd 2.3.4

Linux 源代码 安装vsftpd 2.3.4   2011-10-22 12:15:40|  分类: Unix/Linux 笔记 |  标签:linux  vsftpd  |举报|字号 ...
  • toto1297488504
  • toto1297488504
  • 2014年06月05日 09:25
  • 2617

Elasticsearch2.3.4集群安装指南

Elasticsearch集群安装指南     该文档是建立在已经安装好JAVA JDK的基础上,并且已经设置好$JAVA_HOME环境变量。ElasticSearch这里基于2.3.4版本进行安装...
  • xgjianstart
  • xgjianstart
  • 2016年08月12日 16:13
  • 2299

Python-2.3.4.exe

  • 2009年12月01日 10:13
  • 9.43MB
  • 下载

python3.2.4 windows 64位安装包

  • 2017年03月13日 10:20
  • 17.94MB
  • 下载

DSPACK FOR delphi2010安装

1.下载dspack 2.3.4 ,解压后的目录 2.在delphi中的tools->options ->delphi option->library-win32->library path添加(ds...
  • netman2008hn
  • netman2008hn
  • 2011年06月29日 14:31
  • 2052

ElasticSearch2.2.3 安装文档

软件准备   下载jdk 1.7 以上版本的jdk http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-...
  • dalinsi
  • dalinsi
  • 2016年07月09日 20:23
  • 1388

python-3.4.2.msi

  • 2014年11月10日 14:49
  • 23.39MB
  • 下载

Python学习三部曲之二:library Reference_3.4.4

  • 2016年01月11日 23:53
  • 5.83MB
  • 下载
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:如何安装python2.3版-2.3.4的安装
举报原因:
原因补充:

(最多只允许输入30个字)