码迷,mamicode.com
首页 > 编程语言 > 详细

Linux安装python

时间:2017-05-08 18:43:46      阅读:156      评论:0      收藏:0      [点我收藏+]

标签:linux   org   终端   pre   http   format   tar   form   mat   

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

标签:linux   org   终端   pre   http   format   tar   form   mat   

原文地址:http://www.cnblogs.com/fireporsche/p/6826309.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!