Skip to content

Instantly share code, notes, and snippets.

@RainJayTsai
Last active December 15, 2017 01:28
Show Gist options
  • Save RainJayTsai/bcd729779ee48af1085caf923923f0c0 to your computer and use it in GitHub Desktop.
Save RainJayTsai/bcd729779ee48af1085caf923923f0c0 to your computer and use it in GitHub Desktop.
ubuntu Install python3.6

ref

Ubuntu 14.04 and 16.04

if you are using Ubuntu 14.04 or 16.04, you can use J Fernyhough's PPA at https://launchpad.net/~jonathonf/+archive/ubuntu/python-3.6 :

sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6

Alternatively, you can use Felix Krull's deadsnakes PPA at https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6

Ubuntu 16.10 and 17.04

If you are using Ubuntu 16.10 or 17.04, then Python 3.6 is in the universe repository, so you can just run:

sudo apt-get update
sudo apt-get install python3.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment