Skip to content

Instantly share code, notes, and snippets.

@zekroTJA
Last active June 12, 2019 23:36
Show Gist options
  • Select an option

  • Save zekroTJA/befbb9f4001b9c05ed4840f2d3570e1a to your computer and use it in GitHub Desktop.

Select an option

Save zekroTJA/befbb9f4001b9c05ed4840f2d3570e1a to your computer and use it in GitHub Desktop.

Revisions

  1. zekro revised this gist Sep 13, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion python3.6-installer.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    #!/bin/sh
    RELEASE=3.6.1
    # IF THERE IS A NEWER PYTHON VERSION AVAILABLE, CHANGE VERSION HERE
    RELEASE=3.6.2

    sudo apt-get install libbz2-dev liblzma-dev libsqlite3-dev libncurses5-dev libgdbm-dev zlib1g-dev libreadline-dev libssl-dev tk-dev

  2. ゼクロ created this gist Jul 19, 2017.
    15 changes: 15 additions & 0 deletions python3.6-installer.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    #!/bin/sh
    RELEASE=3.6.1

    sudo apt-get install libbz2-dev liblzma-dev libsqlite3-dev libncurses5-dev libgdbm-dev zlib1g-dev libreadline-dev libssl-dev tk-dev

    mkdir ~/python3
    cd ~/python3
    wget https://www.python.org/ftp/python/$RELEASE/Python-$RELEASE.tar.xz
    tar xvf Python-$RELEASE.tar.xz
    cd Python-$RELEASE
    ./configure
    make
    sudo make install
    sudo rm -rf ~/python3/Python-$RELEASE
    cd ~