1. 程式人生 > >Linux安裝python

Linux安裝python

install format linux 輸入 python https 如果 its conf

1.打開終端,輸入:wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0b4.tgz下載完畢後 
2.輸入解壓命令:tar –zxvf Python-3.5.0b4.tgz;
3.切換到解壓的目錄:cd Python*
4.接下來就是安裝:./configure;
5.make;
6.sudo make install
7.然後查看一下就知道了:輸入python如果出現下面的提示:Python 3.5.0 (#1, Aug 06 2015, 14:04:52)[GCC 4.1.1 20061130 (Red Hat 4.1.1-43)] on l
nux2;Type “help”, “copyright”, “credits” or “license” for more information.
就說明成功了,

Linux安裝python