-
-
Save SalemHarrache/3369942 to your computer and use it in GitHub Desktop.
Use python 2.7 on Alwaysdata servers
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
# 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