How to install Python 2.3 -2.3.4 installation

xiaoxiao2021-03-06  59

1. Download the corresponding RPM package

Wget http://www.python.org/ftp/python/2.3.4/rpms/fedora-1/python2.3-2.3.4-3pydotorg.i386.rpmwget http://www.python.org/ftp/ Python / 2.3.4 / rpms / fedora-1 / python2.3-devel-2.3.4-3pydotorg.i386.rpmwget http://www.python.org/ftp/python/2.3.4/rpms/Fedora-1 /python2.3-tools-2.3.4-3pydotorg.i386.rpmwget --passive ftp://rpmfindo.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 Oklength: 678, 130 [Application / OcTet-stream]

100% [================================================ ============================================================================================================================================================================================================30 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 ... connection.http Request SENT, AWAITING RESPONSE ... 200 Oklength: 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://rpmfindo 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. ==> CWDOites2/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.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 OKLENGTH: 7,565,683 [Application / OcTet-stream]

100% [================================================ ============================================================================================================0033 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. Installation

[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 4F2A6FD2WARNING: Python2.3-2.3 .4-3pydotorg.i386.rpm: v3 DSA Signature: Nokey, Key ID 95ccbcffpreparing ... ############################################################################################################################################################ ############## [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 * .rpmwarning: python2.3 -2.3.4-3pydotorg.i386.rpm: V3 DSA Signature: Nokey, Key ID 95ccbcffprepReparing ... #################################################################################################################################################################################################################################################### ######################################################################################################################################################################################################################################################################################################### ########### [33%] 2: python2.3-deb ##################### ############### [67%] 3: Python2.3-Tools ##################### ################### [100%]

3. Call the use of Python 2.3 to enter Python, the original version can be called using Python

[root @ Eygle Soft] # python2.3python 2.3.4 (# 1, Jul 22 2004, 20:47:54) [GCC 3.3.2 20031022 (Red Hat Linux 3.3.2-1)] on Linux2Type "Help", "Copyright", "CRedits" or "license" for more information. >>>

转载请注明原文地址:https://www.9cbs.com/read-113377.html

New Post(0)