Created
September 8, 2014 21:25
-
-
Save necrolyte2/35319a06db4f0b034674 to your computer and use it in GitHub Desktop.
Install Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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