Skip to content

Instantly share code, notes, and snippets.

@SalemHarrache
Forked from nautilebleu/gist:2953267
Created August 16, 2012 12:59
Show Gist options
  • Save SalemHarrache/3369942 to your computer and use it in GitHub Desktop.
Save SalemHarrache/3369942 to your computer and use it in GitHub Desktop.
Use python 2.7 on Alwaysdata servers
# Get the binary from ActiveState.
$ mkdir ~/temp
$ cd ~/temp ; wget http://downloads.activestate.com/ActivePython/releases/2.7.2.5/ActivePython-2.7.2.5-linux-x86_64.tar.gz
$ tar xvf ActivePython-2.7.2.5-linux-x86_64.tar.gz
# Create a src directory at the root of your account.
$ mkdir ~/opt/ActivePython-2.7
# Install python 2.7
$ ActivePython-2.7.2.5-linux-x86_64/install.sh
# The installer will prompt you to choose a directory. As the default is /opt/ActivePython-2.7, choose
# the previously created directory.
Enter directory in which to install ActivePython. Leave blank and
press 'Enter' to use the default [/opt/ActivePython-2.7].
Install directory: ~/opt/ActivePython-2.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment