Last active
August 29, 2015 14:23
-
-
Save gavinzhou/6ec34e0f015a6f681cb6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 install gcc make expat-devel db4-devel gdbm-devel sqlite-devel readline-devel zlib-devel bzip2-devel openssl-devel -y | |
yum install libxslt-devel -y | |
git clone git://github.com/yyuu/pyenv.git ~/.pyenv | |
cat > EOF << | |
export PYENV_ROOT="${HOME}/.pyenv" | |
if [ -d "${PYENV_ROOT}" ]; then | |
export PATH=${PYENV_ROOT}/bin:$PATH | |
eval "$(pyenv init -)" | |
fi | |
EOF | |
wget https://gmplib.org/download/gmp/gmp-6.0.0a.tar.bz2 | |
tar -jxvf gmp-6.0.0a.tar.bz2 | |
./configure | |
make && make install | |
pip uninstall -y distribute | |
pip uninstall -y setuptools | |
pip install setuptools |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment