Created
July 3, 2015 08:09
-
-
Save tbondarchuk/5ffd023988018496e6b4 to your computer and use it in GitHub Desktop.
python2.7 install from sources on CentOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum groupinstall "Development tools" | |
yum install bzip2-devel openssl-devel ncurses-devel zlib-devel | |
cd /usr/local/src/ | |
wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz | |
tar xzvf Python-2.7.10.tgz | |
cd Python-2.7.10/ | |
./configure --prefix=/usr/local | |
make && make altinstall | |
/usr/local/bin/python2.7 -m ensurepip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment