Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
CentOS 6.8: Install Python 2.7.10, pip, virtualenv, and virtualenvwrapper on CentOS
# According to:
# How To Set Up Python 2.7.6 and 3.3.3 on CentOS 6.4
yum -y update
yum groupinstall -y 'development tools'
yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel
yum install xz-libs
xz -d Python-2.7.10.tar.xz
tar -xvf Python-2.7.10.tar
cd Python-2.7.10
./configure --prefix=/usr/local
make altinstall
export PATH="/usr/local/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment