centos6 安装 python新方法

 

1
2
rpm -ivh http://li.nux.ro/download/nux/dextop/el6/x86_64/python27-libs-2.7.3-6.2.el6.nux.x86_64.rpm
rpm -ivh http://li.nux.ro/download/nux/dextop/el6/x86_64/python27-2.7.3-6.2.el6.nux.x86_64.rpm

 

如果需要开发环境,再折腾,tkinter依赖其他包

1
2
rpm -ivh http://li.nux.ro/download/nux/dextop/el6/x86_64/tkinter27-2.7.3-6.2.el6.nux.x86_64.rpm
rpm -ivh http://li.nux.ro/download/nux/dextop/el6/x86_64/python27-devel-2.7.3-6.2.el6.nux.x86_64.rpm

 

本地备份一个

http://baoz.net/wp-content/2013/09/python2.7.tgz

 

我不会告诉你我是从baoz那里偷过来的。。

Leave a Reply