Unofficial H2O Debian package for Debian and Ubuntu builder
Switch branches/tags
Nothing to show
Clone or download
tatsushid Use no-uniform-compression for bionic build
Bintray seems not to accept a xz compressed control archive included in
deb package.

This fixes the issue by using no-uniform-compression option to make
dpkg-deb behave like xeniel or earlier.
Latest commit 45382a7 Jul 5, 2018

H2O Unofficial Debian package builder

Build Status

This provides H2O debian directory and required files e.g. SysVinit, systemd service etc. to build Debian package for Debian and Ubuntu.

If you search RPM package, please see h2o-rpm

How to use prebuilt Debian package

This has Bintray Debian package repository so if you'd like to just install such a prebuilt package, please do following.

# Add GPG key
curl -SL '' | sudo apt-key add -

# If your system is Debian jessie (8.x)
echo "deb jessie-backports main" | sudo tee /etc/apt/sources.list.d/bintray-tatsushid-h2o.list

# If your system is Debian stretch (9.x)
echo "deb stretch-backports main" | sudo tee /etc/apt/sources.list.d/bintray-tatsushid-h2o.list

# If your system is Ubuntu trusty (14.04)
echo "deb trusty-backports main" | sudo tee /etc/apt/sources.list.d/bintray-tatsushid-h2o.list

# If your system is Ubuntu xenial (16.04)
echo "deb xenial-backports main" | sudo tee /etc/apt/sources.list.d/bintray-tatsushid-h2o.list

# If your system is Ubuntu bionic (18.04)
echo "deb bionic-backports main" | sudo tee /etc/apt/sources.list.d/bintray-tatsushid-h2o.list

Once it has done, you can install packages in the repository by

sudo apt-get update
sudo apt-get install h2o

How to build Debian package

If you have a docker environment, you can build Debian packages by just running


If you'd like to build Debian package for specific distribution, please run a command like following

make debian8

Now this understands

  • debian8
  • debian9
  • ubuntu1404
  • ubuntu1604
  • ubuntu1804

build options.

To build Debian package in your server without docker, please copy files under src/debian to your build system

Installing Debian package

After building, please copy Debian package under *.build directory to your system and run

dpkg -i h2o_2.2.5-1_amd64.deb

Once the installation finishes successfully, you can see a configuration file at /etc/h2o/h2o.conf.

To start h2o, please run

systemctl enable h2o.service
systemctl start h2o.service


This is under MIT License. Please see the LICENSE file for details.