Skip to content

Instantly share code, notes, and snippets.

@baoshan
Created April 24, 2012 11:23
Show Gist options
  • Star 18 You must be signed in to star a gist
  • Fork 13 You must be signed in to fork a gist
  • Save baoshan/2478886 to your computer and use it in GitHub Desktop.
Save baoshan/2478886 to your computer and use it in GitHub Desktop.
Install PyPy on CentOS
# 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