Skip to content

Instantly share code, notes, and snippets.

@cbronazc
cbronazc / doit
Last active August 29, 2015 13:57 — forked from stantonk/doit
Install Python 2.7 on Centos 5.* without breaking yum
#!/bin/bash
# Source: http://toomuchdata.com/2012/06/25/how-to-install-python-2-7-3-on-centos-6-2/
yum groupinstall "Development tools"
yum install zlib-devel
yum install bzip2-devel openssl-devel ncurses-devel xz
wget http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tar.xz
unxz Python-2.7.6.tar.xz
tar xf Python-2.7.6.tar