Installation: Deprecated Support

The following distributions are only supported for LTS releases up to 3.18.

Ubuntu 14.04 Trusty

Follow instructions for installing LTS releases.


The following distributions are only supported for LTS releases up to 3.6.

Ubuntu 12.04 Precise

HHVM 3.6 only

# If this command is not found then do this: sudo apt-get install python-software-properties
sudo add-apt-repository ppa:mapnik/boost
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
echo deb http://dl.hhvm.com/ubuntu precise 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

Don't forget to Install Boost 1.49 on Ubuntu 12.04. See Building and Installing HHVM on Ubuntu 12.04 for details.

Mint 16 Preta

HHVM 3.6 only

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
echo deb http://dl.hhvm.com/mint petra 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

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

If you get the following error when trying to run hhvm:

hhvm: error while loading shared libraries: libboost_program_options.so.1.49.0: cannot open shared object file: No such file or directory

you may be able to fix it by simply installing the required packages (hhvm package incorrectly installs libboost 1.53):

sudo apt-get install libboost-filesystem1.49.0 libboost-program-options1.49.0 libboost-regex1.49.0 libboost-thread1.49.0