Ubuntu16.04下安装python3.6.4详细步骤

# 官网下载安装包
1. wget http://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz

# 解压 
2. tar -xvzf Python-3.6.4.tgz

# 安装
3. cd Python-3.6.4
4. ./configure --with-ssl

# 编译
5. sudo make
6. sudo make install

# 创建软连接,先查看python3.6.4的安装路径
7. which python3    # /usr/local/bin/python3
8. sudo  ln -s /usr/local/bin/python3 python
posted @ 2020-12-29 19:55  瘋耔  阅读(178)  评论(0编辑  收藏  举报
跳至侧栏