Skip to content

Prebuilt Packages on Debian 7

jwatzman edited this page Dec 12, 2014 · 15 revisions

Warning: wheezy is old and out of date. Installing like this from the HHVM repo will upgrade your system's libc, libstdc++ and a few other packages to ones pulled from jessie. This will probably work if all you're running is HHVM, but can lead to some strange effects -- in particular, a lot of packages, including build-essential, will become uninstallable unless you manually pull even more things from jessie. Using a newer and better-supported OS (such as jessie, or an Ubuntu LTS) is strongly recommended.

To install prebuilt packages for Debian 7 (amd64):

wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -
echo deb http://dl.hhvm.com/debian wheezy main | sudo tee /etc/apt/sources.list.d/hhvm.list
sudo apt-get update
sudo apt-get install hhvm
# If you are getting segfaults
sudo apt-get install hhvm-dbg
# Living on the edge (rebuilt everyday, unstable)
sudo apt-get install hhvm-nightly
# Segfaults in the nightly
sudo apt-get install hhvm-nightly-dbg

If this repo is slow for you, choose a different Mirror.

Clone this wiki locally