Install python3.6 under Ubuntu 16.04

Ubuntu16.04 comes with python versions python2.7 and python3.5, now I want to install python3.6.4

# Download the installation package from the official website
1. wget http://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz

# Unzip
2. tar -xvzf Python-3.6.4.tgz

# installation
3. cd Python-3.6.44../configure --with-ssl

# Compile
5. sudo make
6. sudo make install

# Create a soft connection, first check python3.6.4 installation path
7. which python3    # /usr/local/bin/python38.mv python python_org  ##Keep the original python
9. sudo  ln -s /usr/local/bin/python3 python10.pip3 install --upgrade pip ###Update pip311.mv pip pip_org  ##Keep the original pip
12. sudo  ln -s /usr/local/bin/pip3 pip

Recommended Posts

Install python3.6 under Ubuntu 16.04
ubuntu18.04 install python2
ubuntu12.04 install python3
ubuntu18.04 install python
Install node.js under Ubuntu
Install mysql under Ubuntu 16.04
Install Thrift under ubuntu 14.10
Install OpenJDK10 under Ubuntu
Install Caffe under Ubuntu 14.04
Python MySQLd under Ubuntu
[python] python2 and python3 under ubuntu
2018-09-11 Install arduino under Ubuntu
Install Python3 on Ubuntu 14.04
Install python in Ubuntu
Install Python3 on Ubuntu 16.04
Install ROS under ROS Ubuntu 18.04[2]
Install MySQL under Ubuntu
Install Yarm-PM2 under Ubuntu
Install Python3.7 on Ubuntu
Ubuntu install the latest Python 3.
Install python environment under Linux
Install Python 3.7 on Ubuntu 18.04 LTS
ubuntu18.04 compile and install python3.8
Install server-side Shadowsocks under Ubuntu 16.04
Install rgl package under Ubuntu
Install 3 single-cell R packages under Ubuntu
How to install Python 3.8 on Ubuntu 18.04
Install and deploy Gerrit under Ubuntu
Install MySQL under Ubuntu 18.04 (graphic tutorial)
Install JDK1.8 original under Ubuntu Kylin
Small tool: install screenshot tool under ubuntu
Install nodejs and npm under Ubuntu 16.04
Python Chinese encoding setting under ubuntu
Install Python3 and ansible under CentOS8
Install Python virtual environment on Ubuntu 18.04
Install TensorFlow (python2.7 version) on Ubuntu
Install Python3 and Py under CentOS7
How to install Audacious under Ubuntu
How to install Tensorflow under ubuntu 16.04
Compile and install QEMU under Ubuntu
Centos6 install Python2.7.13
Ubuntu16 upgrade Python3
Centos7 install Python 3.6.
Relearn ubuntu --python3
ubuntu18.04 install docker
CentOS install Python 3.6
Ubuntu install guide
Centos7 install Python2.7
ubuntu install nodejs
ubuntu 16 install asp.net
ubuntu install leanote
ubuntu install Jenkins
docker install ubuntu
ubuntu install elasticsearch
Centos install Python3
ubuntu16.0.1 install pagoda
CentOS6.8 install python2.7
ubuntu 18.04 install teamviewer
ubuntu install sendmail
ubuntu16.04 upgrade python2
Install the latest Python 3.6 version on Ubuntu