1、下载linux 版本的 Python
我是在Windows下下载的,然后共享到linux下。
2、解压文件
tar -xvf Python-3.4.1.tar
x是解压
v是查看所有过程
f是使用档案名字,这个参数是最后一个参数,后面只能接档案名
3、查看README,里面有写如何安装
可以看到里面写了安装步骤
1 ./configure
2 make
3 make test
4 sudo make install
经过上面四步就完成了Python的安装,使用Python3,可以看到有版本显示。