Skip to content

Instantly share code, notes, and snippets.

@marktyers
Created January 5, 2017 13:33
Show Gist options
  • Save marktyers/0107bc60934900d35a2e9e309bd4bbe3 to your computer and use it in GitHub Desktop.
Save marktyers/0107bc60934900d35a2e9e309bd4bbe3 to your computer and use it in GitHub Desktop.
# setting up latest version of python on Ubuntu.
# following line needed if not running 16.10+
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6 python3-pip
nano ~/.bashrc
# add the folling line to the end of ~/.bashrc
alias python=python3.6
source ~/.bashrc
python -V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment