[iyunv@localhost ~]# cat /proc/version
Linux version 3.10.0-229.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Fri Mar 6 11:36:42 UTC 2015
[iyunv@localhost ~]#
[iyunv@localhost ~]# cd Python-3.5.0b4/
[iyunv@localhost Python-3.5.0b4]# ./configure
[iyunv@localhost Python-3.5.0b4]# make
[iyunv@localhost Python-3.5.0b4]# make install
看到以下信息,说明python安装完成:第二行会因liunx的版本不一样而异同,请留意!
[iyunv@localhost Python-3.5.0b4]# python
Python 2.7.5 (default, Jun 17 2014, 18:11:42)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>