Skip to content

Instantly share code, notes, and snippets.

@marktyers
Created January 5, 2017 13:33
Show Gist options
  • Select an option

  • Save marktyers/0107bc60934900d35a2e9e309bd4bbe3 to your computer and use it in GitHub Desktop.

Select an option

Save marktyers/0107bc60934900d35a2e9e309bd4bbe3 to your computer and use it in GitHub Desktop.

Revisions

  1. marktyers created this gist Jan 5, 2017.
    14 changes: 14 additions & 0 deletions pythonSetup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@

    # 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