Skip to content

Instantly share code, notes, and snippets.

@gkostadinov
Forked from stantonk/doit
Last active October 13, 2023 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save gkostadinov/6543764 to your computer and use it in GitHub Desktop.
Save gkostadinov/6543764 to your computer and use it in GitHub Desktop.
#!/bin/bash
yum groupinstall "Development tools"
yum install zlib-devel
yum install bzip2-devel openssl-devel ncurses-devel
mkdir downloads
cd downloads
wget http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tar.bz2
tar xf Python-2.7.5.tar.bz2
cd Python-2.7.5
./configure --prefix=/usr/local
make && make altinstall
cd ..
wget https://pypi.python.org/packages/source/d/distribute/distribute-0.7.3.zip
unzip distribute-0.7.3.zip
cd distribute-0.7.3
python2.7 setup.py install
/usr/local/bin/easy_install-2.7 virtualenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment