Skip to content

Instantly share code, notes, and snippets.

@lhcpig
Created May 18, 2016 04:48
Show Gist options
  • Save lhcpig/640688910f427faf9aa9c3f3e73efecc to your computer and use it in GitHub Desktop.
Save lhcpig/640688910f427faf9aa9c3f3e73efecc to your computer and use it in GitHub Desktop.
wget http://www.python.org/ftp/python/3.5.0/Python-3.5.0.tar.bz2 -O /var/tmp/Python-3.5.0.tar.bz2
bzip2 -cd /var/tmp/Python-3.5.0.tar.bz2 | tar xvf -
cd /var/tmp/Python-3.5.0
./configure
yum groupinstall "Development tools"
yum install openssl-devel
make && make install
/usr/local/bin/python3 --version
ln -s /usr/local/bin/python3 /usr/bin/python3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment