Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

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 Debian buster (10.x)
echo "deb buster-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
  • debian10
  • 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.6-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.


Unofficial H2O Debian package for Debian and Ubuntu builder






No releases published


No packages published