Python-2.7.11.tar.xz下载地址:
https://www.python.org/ftp/python/2.7.11/Python-2.7.11.tar.xz
[root@Only-Qt-for-Python src]# yum -yinstall lrzsz vim wget ntp xz gcc gcc-c++ unzip zlib*
[root@Only-Qt-for-Python src]# ll
总用量 11992
-rw-r--r--. 1 root root 12277476 6月 23 13:46Python-2.7.11.tar.xz
[root@Only-Qt-for-Python src]# xz -d Python-2.7.11.tar.xz
[root@Only-Qt-for-Python src]# tar xfPython-2.7.11.tar
[root@Only-Qt-for-Python Python-2.7.11]#./configure && make all && make install && make clean&& make distclean
[root@Only-Qt-for-Python ~]# pwd