Skip to content

Instantly share code, notes, and snippets.

@higebu
Forked from stantonk/doit
Last active August 29, 2015 13:56
Show Gist options
  • Save higebu/8999242 to your computer and use it in GitHub Desktop.
Save higebu/8999242 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
wget http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz
tar xf Python-2.7.6.tgz
cd Python-2.7.6
./configure --prefix=/usr/local
make && make altinstall
wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
/usr/local/bin/python2.7 get-pip.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment