请教高手:9.04系统中python2.6怎么换成2.5

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
karlzheng
帖子: 26
注册时间: 2008-12-11 0:42

请教高手:9.04系统中python2.6怎么换成2.5

#1

帖子 karlzheng » 2010-01-09 14:48

root@karl-desktop:/usr/include# dpkg -L python2.5|grep python |ls -l|grep x |grep ^[^d]
-rw-r--r-- 1 root root 3557 2009-09-01 02:45 complex.h
lrwxrwxrwx 1 root root 6 2009-12-10 18:55 cucul.h -> caca.h
-rw-r--r-- 1 root root 1606 2009-09-01 02:45 execinfo.h
-rw-r--r-- 1 root root 6217 2009-01-07 04:41 FlexLexer.h
lrwxrwxrwx 1 root root 8 2009-12-10 18:55 libpng -> libpng12
lrwxrwxrwx 1 root root 8 2009-12-10 18:55 ncurses.h -> curses.h
lrwxrwxrwx 1 root root 18 2009-12-10 18:55 pngconf.h -> libpng12/pngconf.h
lrwxrwxrwx 1 root root 14 2009-12-10 18:55 png.h -> libpng12/png.h
-rw-r--r-- 1 root root 21871 2009-09-01 02:45 regex.h
-rw-r--r-- 1 root root 7123 2009-09-01 02:45 regexp.h
-rw-r--r-- 1 root root 2873 2009-09-01 02:45 stdio_ext.h
-rw-r--r-- 1 root root 5232 2009-09-01 02:45 sysexits.h
-rw-r--r-- 1 root root 2015 2009-09-01 02:45 ucontext.h
-rw-r--r-- 1 root root 4203 2009-09-01 02:45 utmpx.h
-rw-r--r-- 1 root root 2592 2009-09-01 02:45 wordexp.h
-rw-r--r-- 1 root root 1684 2009-09-01 02:44 xlocale.h
root@karl-desktop:/usr/include# python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
头像
maivel
帖子: 293
注册时间: 2009-05-01 7:35

Re: 请教高手:9.04系统中python2.6怎么换成2.5

#2

帖子 maivel » 2010-01-09 18:25

直接装个2.5不行么?装不上就把2.6卸了装2.5,源里有2.5。
PS:顺便问下2.5和2.6有什么关键的区别么,要换2.5?
我这个人天生愚笨,体内装进一点点东西就会往外面冒,满地都是,一不小心就成了才华横溢。
karlzheng
帖子: 26
注册时间: 2008-12-11 0:42

Re: 请教高手:9.04系统中python2.6怎么换成2.5

#3

帖子 karlzheng » 2010-01-10 15:46

maivel 写了:直接装个2.5不行么?装不上就把2.6卸了装2.5,源里有2.5。
PS:顺便问下2.5和2.6有什么关键的区别么,要换2.5?
1、直接卸掉python会导致Ubuntu起不到GUI界面,我上次就是这样子。。
2、要用一个hulahop的应用,只有针对python2.5的。。。2.6它跑不了
头像
maivel
帖子: 293
注册时间: 2009-05-01 7:35

Re: 请教高手:9.04系统中python2.6怎么换成2.5

#4

帖子 maivel » 2010-01-10 16:21

直接sudo aptitude install python2.5呢 能共存么?
我这个人天生愚笨,体内装进一点点东西就会往外面冒,满地都是,一不小心就成了才华横溢。
回复