Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Building and installing HHVM on Ubuntu 13.10
Please Note: You must be running a 64-bit OS to compile & install HHVM.
Using sudo or as root user: (it is recommended to run
sudo apt-get update first, or you may receive errors)
sudo apt-get install autoconf automake binutils-dev build-essential cmake g++ git \ libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \ libboost-system-dev libboost-thread-dev libbz2-dev libc-client-dev \ libc-client2007e-dev libcap-dev libcurl4-openssl-dev libdwarf-dev libelf-dev \ libexpat-dev libgd2-xpm-dev libgoogle-glog-dev libgoogle-perftools-dev libicu-dev \ libjemalloc-dev libmcrypt-dev libmemcached-dev libmysqlclient-dev libncurses-dev \ libonig-dev libpcre3-dev libreadline-dev libtbb-dev libtool libxml2-dev zlib1g-dev libevent-dev \ libmagickwand-dev libxslt1-dev ocaml-native-compilers libiberty-dev \ php5-imagick gawk
Downloading and building the HHVM source-code
Please ensure that your machine has more than 1GB of RAM
mkdir dev cd dev export CMAKE_PREFIX_PATH=`pwd` git clone git://github.com/facebook/hhvm.git --depth=1 cd hhvm git submodule update --init --recursive cmake . make
The hhvm binary can be found in
The Hack language
If any errors occur, it may be required to remove the
CMakeCache.txt file in the checkout.
If your failure was on the
make command, try to correct the error and run
make again, it should restart from the point it stops. If the error persists, try to remove as explained above.