Nightly Packages

Posted on January 21, 2014 by

If you just can’t wait to get your hands on the latest HHVM code, but you don’t want to spend the time to compile it, we have a present for you.

Every midnight, we run a script that pulls whatever is in master, compiles it, does a sanity check, builds a package and sends it off to the repo. You can then use it by adding the HHVM repo normally and then installing the “hhvm-nightly” package instead of the “hhvm” package. The nightly package should work identically to the current 8 week release cycle package; it will just have all the most recent commits with much less of the testing and hardening (so beware). While we pride ourselves in having master always passing the full test suite, bugs can obviously creep in, so please don’t run your production site on a nightly. When you are about to report an issue, please check that it hasn’t already been fixed by the nightly package.

For now, there are only Ubuntu LTS (12.04), Ubuntu most recent (13.10) and Debian stable (7). We will consider others if there is enough desire. Comment below if you want another distro and would actively use ”hhvm-nightly“.

For Ubuntu 12.04:

sudo add-apt-repository ppa:mapnik/boost
wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -
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-nightly

For Ubuntu 13.10:

wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -
echo deb http://dl.hhvm.com/ubuntu saucy main | sudo tee /etc/apt/sources.list.d/hhvm.list
sudo apt-get update
sudo apt-get install hhvm-nightly

For Debian 7:

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-nightly

Posted in Announcement | Leave a reply

35 Responses to “Nightly Packages”

  1. Stuart Carnie says:

    Great stuff! Will hhvm-fastcgi-nightly become available the same way?

    • Paul Tarjan says:

      No. `hhvm-fastcgi` doesn’t actually have any binaries in it. It is just config files for your ngingx or apache. I’m going to work on figuring out how to make it not uninstall when you install the nightly, but for now, you can force install it or configure by hand.

  2. For those interested I have a Vagrant setup available at https://github.com/vicb/hhvm-vagrant. It comes with some HH samples and more is on the way.

  3. Rasta says:

    Is an Mac OS version planned? If yes, when?

  4. inet says:

    Please consider builds for Amazon Linux.

  5. Jacey Harker says:

    A nightly update for CentOS (via YUM) would be much-appreciated for our dev servers.

  6. Vadim says:

    Please package for > CentOS 6.4

  7. Mohammed says:

    I tired to install it and it works with me via command line by when I tried it via broswer I have no luck

    I amd using apache as a webserver and I followed the instructions in this article
    http://www.hhvm.com/blog/
    under the title of
    Making it work with Apache

  8. Souki says:

    Amazon Linux support would be great!

  9. Patrick says:

    I added nightly support to hhvm for vagrant fans at http://getprotobox.com/ or https://github.com/protobox/protobox .

  10. […] On the HipHop Virtual Machine blog today they’re announcing a new option for those that “just can’t wait” to get the latest and greatest HHVM version – nightly packages. […]

  11. Pomyk says:

    +1 for CentOS :)

  12. […] 8 week release cadence to keep everything fresh and in your hands. Also remember you can run the nightly packages if you want a bleeding edge […]

  13. The OSX brew tap is update to 2.4.0

  14. Cyrill Schumacher says:

    I would like to see nightly builds for Amazon Linux AMI :-) Thanks!

  15. Pepijn Blom says:

    About to start testing some sites with HHVM nightly. Can’t wait to see the results!

    For work CentOS builds would be appreciated, for personal experimentation Debian & Ubuntu will do just fine :)

  16. besei says:

    $sudo apt-cache show hhvm-nightly

    Hhvm-nightly package can not be found

      • besei says:

        # sudo apt-get install hhvm
        Reading package lists… Done
        Building dependency tree
        Reading state information… Done
        Package hhvm is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or
        is only available from another source

        E: Package ‘hhvm’ has no installation candidate

        # sudo apt-cache show hhvm
        N: Can’t select versions from package ‘hhvm’ as it is purely virtual
        N: No packages found

        # sudo apt-cache show hhvm-nightly
        N: Unable to locate package hhvm-nightly
        E: No packages found

  17. Jon Deckeer says:

    It appears that hhvm-nightly hasn’t built for saucy since the 18th (though precise nightly builds seem to be working)

    http://dl.hhvm.com/ubuntu/pool/main/h/hhvm-nightly/

  18. […] HHVM 2.5.0. Please test the implementation as much as possible before the 2.5.0 release (maybe by using a nightly), so we can continue to fix […]

  19. Jason McClellan says:

    Would love to see nightlies on Fedora!

  20. I am trying to install in my local machine under categoty “For Ubuntu 12.04″ I got the following error :

    hemant@hemant-virtual-machine:~$ sudo apt-get install hhvm-nightly
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Unable to locate package hhvm-nightly

  21. Souvik says:

    How can I install Hack in Windows?

  22. Tyler says:

    +1 for amazon linux…i would love to use this on elasticbeanstalk

  23. Stranger says:

    FreeBSD would be great!

  24. Maxim says:

    I am having a trouble using hhvm-nightly with Google API PHP Client:

    Warning: Unknown signature algorithm. in /home/maxime/Git/google-api-php-client/src/Google/Signer/P12.php on line 85

    Fatal error: Uncaught exception ‘Google_Auth_Exception’ with message ‘Unable to sign data’ in /home/maxime/Git/google-api-php-client/src/Google/Signer/P12.php:86

    The troubled code in P12.php is:

    if (!openssl_sign($data, $signature, $this->privateKey, “sha256″)) {
    throw new Google_Auth_Exception(“Unable to sign data”);
    }

    This code works fine with PHP on the same machine with Ubuntu 13.10.

  25. […] ココのfor For Ubuntu 13.10:のコマンドをとりあえず叩く。今の時点でこのコマンドをプロビジョニングファイルに落としたとしても明日には動かなくなってると思うのでやらない。 […]

  26. wasif says:

    whats about windows version ?

Leave a Reply