Skip to content

Instantly share code, notes, and snippets.

@bosley
Created July 19, 2015 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bosley/4336d2be8908adc0da7e to your computer and use it in GitHub Desktop.
Save bosley/4336d2be8908adc0da7e to your computer and use it in GitHub Desktop.
Centos 7 Python3.3 Install
yum groupinstall "Development Tools" -y
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel -y
wget http://python.org/ftp/python/3.3.5/Python-3.3.5.tar.xz
tar xf Python-3.3.5.tar.xz
cd Python-3.3.5
./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
make && make altinstall
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
python3.3 ez_setup.py
easy_install-3.3 pip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment