Skip to content

Instantly share code, notes, and snippets.

@jovib
Last active December 16, 2015 12:39
Show Gist options
  • Select an option

  • Save jovib/5436555 to your computer and use it in GitHub Desktop.

Select an option

Save jovib/5436555 to your computer and use it in GitHub Desktop.
deployment Python 2.7.4 on Rethat 5
$ 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