Forked from gkostadinov/centos-python2.7.5-install.sh
Last active
August 29, 2015 14:05
-
-
Save buley/efb66283a95e13640f57 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
yum groupinstall -y "Development tools" | |
yum install -y zlib-devel bzip2-devel openssl-devel ncurses-devel | |
cd /usr/local/src/ | |
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