Skip to content

Instantly share code, notes, and snippets.

@necrolyte2
Created September 8, 2014 21:25
Show Gist options
  • Save necrolyte2/35319a06db4f0b034674 to your computer and use it in GitHub Desktop.
Save necrolyte2/35319a06db4f0b034674 to your computer and use it in GitHub Desktop.
Install Python
prefix=$HOME
PYTHON_VERSION=2.7.8
tmpdir=$HOME/tmp-python
rm -rf $tmpdir; mkdir -p $tmpdir
pushd $tmpdir && wget --no-check-certificate https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz -O- | tar xzf - && pushd Python-${PYTHON_VERSION} && ./configure --prefix $prefix && make && make install && popd && popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment