Last active
December 16, 2015 12:39
-
-
Save jovib/5436555 to your computer and use it in GitHub Desktop.
deployment Python 2.7.4 on Rethat 5
This file contains hidden or 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
| $ wget http://www.python.org/ftp/python/2.7.4/Python-2.7.4.tgz | |
| $ tar -zxvf Python-2.7.4.tgz | |
| $ cd Python-2.7.4 | |
| $ ./configure --prefix=$HOME/local/Python-2.7 | |
| $ make | |
| $ make install | |
| $ cd ~ | |
| $ echo "export PATH=\"$HOME/local/bin:\$PATH\"" >> .bashrc | |
| $ echo "export PATH=\"$HOME/local/Python-2.7/bin:\$PATH\"" >> .bashrc | |
| $ source .bashrc | |
| $ which python | |
| $ python -V |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment