CentOS5下Python-2.5安装笔记
1、己安装的老版本
[root@ha01 Python-2.5.2]# rpm -qa python
python-2.4.3-27.el5
2、安装新版本Python2.5
[root@ha01 local]# tar -jxvf Python-2.5.2.tar.bz2
[root@ha01 local]# cd Python-2.5.2
[root@ha01 Python-2.5.2]# ./configure
[root@ha01 Python-2.5.2]# make & make install
3、覆盖老版本Python
[root@ha01 Python-2.5.2]# cd /usr/bin/
[root@ha01 bin]# rm -rf python
[root@ha01 bin]# ln -s /usr/local/Python-2.5.2/python ./
4、安装完成
[root@ha01 /]# python
Python 2.5.2 (r252:60911, Apr 2 2011, 11:35:01)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
相关推荐
huavhuahua 2020-11-20
weiiron 2020-11-16
cakecc00 2020-11-15
千锋 2020-11-15
JakobHu 2020-11-14
guangcheng 2020-11-13
xirongxudlut 2020-11-10
solarLan 2020-11-09
pythonxuexi 2020-11-08
文山羊 2020-11-07
susmote 2020-11-07
wuShiJingZuo 2020-11-05
Pythonjeff远 2020-11-06
jacktangj 2020-11-04
lousir 2020-11-04
YENCSDN 2020-11-17
lsjweiyi 2020-11-17
houmenghu 2020-11-17
Erick 2020-11-17