Created
April 24, 2012 11:23
-
-
Save baoshan/2478886 to your computer and use it in GitHub Desktop.
Install PyPy 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 list \*openssl\* | |
yum install -y openssl098e | |
yum install -y zlib | |
ln -s /usr/lib64/libssl.so.0.9.8e /usr/lib64/libssl.so.0.9.8 | |
ln -s /usr/lib64/libcrypto.so.0.9.8e /usr/lib64/libcrypto.so.0.9.8 | |
ln -s /lib64/libbz2.so.1 /lib64/libbz2.so.1.0 | |
wget https://bitbucket.org/pypy/pypy/downloads/pypy-1.8-linux64.tar.bz2 | |
tar -xf pypy-1.8-linux64.tar.bz2 | |
cp -r pypy-1.8 /opt | |
ln -s /opt/pypy-1.8/bin/pypy /usr/local/bin | |
rm -rf pypy-1.8 | |
rm pypy-1.8-linux64.tar.bz2 | |
pypy --version | |
curl -O http://python-distribute.org/distribute_setup.py | |
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py | |
pypy distribute_setup.py | |
pypy get-pip.py | |
rm get-pip.py | |
rm distribute_setup.py | |
ln -s /opt/pypy-1.8/bin/pip /usr/local/bin | |
pip install pygments |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment