简体   繁体   English

如何在Debian Wheezy上安装pypy

[英]How to install pypy on debian wheezy

I try to install pypy on server with debian 7.4. 我尝试在使用debian 7.4的服务器上安装pypy。 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. 当我将jessie main添加到sources.list时,我可以安装pypy和pypy-dev,但是由于某些原因,新软件包破坏了我的postgres数据库。 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. 我使用vagrant在虚拟机中创建了相同的配置。 When i login via ssh and run with sudo: 当我通过ssh登录并使用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 经过长时间的专业很多块我的SSH连接断开

I also tried many things to install pypy on debian but was unsuccesful, so i switched to ubuntu. 我也尝试了很多事情在debian上安装pypy,但是没有成功,所以我改用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

有关许多Linux发行版,请参见此可移植的32位和64位x86 PyPy二进制文件https : //github.com/squeaky-pl/portable-pypy (官方网站建议使用: http//www.pypy.org/download。 html#installing

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM