tstr
tstr

Reputation: 1276

How to install pypy on debian wheezy

I try to install pypy on server with debian 7.4. I tried few difference ways and all failed. When I added jessie main to sources.list I can install pypy and pypy-dev but for some reason new packages broke my postgres database. I think it's bad approach. My secound try is to build it from source. I created the same configuration in virtual machine using vagrant. When i login via ssh and run with sudo:

python /opt/pypy/rpython/bin/rpython --opt=jit /opt/pypy/pypy/goal/targetpypystandalone.py

after long time of specialized many blocks my ssh connection broken

Upvotes: 2

Views: 3282

Answers (2)

Olivier Pirson
Olivier Pirson

Reputation: 802

See this Portable 32 and 64 bit x86 PyPy binaries for many Linux distributions: https://github.com/squeaky-pl/portable-pypy (It's recommanded by the official site: http://www.pypy.org/download.html#installing )

Upvotes: 0

Marie Anne
Marie Anne

Reputation: 311

I also tried many things to install pypy on debian but was unsuccesful, so i switched to ubuntu. Now I was able to install it like this:

sudo apt-get install python-software-properties software-properties-common -y -f
sudo add-apt-repository ppa:pypy/ppa -y
sudo apt-get update
sudo apt-get install pypy -y
sudo apt-get install python-pip python-dev build-essential -y

Upvotes: 4

Related Questions