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.04 (Xenial)
- Ubuntu 15.10 (Wily Werewolf)
- Ubuntu 15.04 (Vivid)
- Ubuntu 14.04 (Trusty)
- Debian 8 (Jessie)
- Debian 7 (Wheezy)
HHVM releases a point (stable) release on the order of every 8 weeks. Every third major point release of HHVM (e.g, 3.6, 3.9) is considered a long-term support (LTS) release. These releases are supported for nearly one year (48 weeks), and are backported with critical bug fixes and security patches. At any given time, there will be two supported LTS releases.
|LTS Version||Release Date||End of Support|
|3.12||29 January 2016||30 December 2016|
|3.15||7 September 2016||9 August 2017|
|3.18||13 February 2017||15 January 2018|
In addition to the normal stable packages, there are supported LTS releases for the above distributions.
See our blog post regarding LTS releases.
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 3.12 or greater installed on your distribution. In general, you should be able to
yum install OCaml for your distribution.