系统相关
首页 > 系统相关> > ubuntu12.04下安装Python3.5.2 1

ubuntu12.04下安装Python3.5.2 1

作者:互联网

 下载源码包 (https://www.python.org/downloads/release/python-352/) 

2  解压Python-3.5.2.tar.xz

3  sudo ./configure --prefix=/usr/local/python3.5.2 (/usr/local/python3.5.2--配置路径)

4  make

5 make install

6 ln -s /usr/local/python3.5.2/bin/python3 (创建链接)

7  sudo rm python(删除原链接)

8 sudo ln -s /usr/local/python3.5.2/bin/python3 /usr/bin/python (建立新链接)
9 python 查看版本

 

标签:bin,python,安装,python3.5,sudo,ubuntu12.04,Python3.5,usr,local
来源: https://www.cnblogs.com/Ph-one/p/11830884.html