The easiest way to get going with HHVM is to use one of our supported prebuilt packages. Currently prebuilt packages are available for:
- Ubuntu 16.10 (Yakkety)
- Ubuntu 16.04 (Xenial)
- Ubuntu 15.10 (Wily Werewolf)
- Ubuntu 15.04 (Vivid)
- Ubuntu 14.04 (Trusty)
- Debian 8 (Jessie)
- Debian 7 (Wheezy)
For normal usage, using a prebuilt package is the best course of action for ease of installation and stability. However, if you want to live on the bleeding edge and get the latest and greatest code as it is checked into GitHub, you can compile HHVM straight from source. Check the compilation instructions for both the supported Linux and Mac OS X distros.
If we support a prebuilt package for a distribution, we support compiling it from source as well.
Whether you are using a prebuilt package or compiling from source, the Hack Typechecker is also part of the installation of HHVM, provided that you have OCaml 4.03 or greater installed on your distribution. In general, you should be able to
yum install OCaml for your distribution.