Debian/Ubuntu HAProxy packages

The Debian HAProxy packaging team provides various versions of HAProxy packages for use on different Debian or Ubuntu systems. The following wizard helps you to find the package suitable for your system.

« I am running and I want to install HAProxy version »

Instructions

You can install it with the following commands:

          $ apt-get update
          $ apt-get install haproxy
        

You need to enable the backports repository. This can be done by adding a new file /etc/apt/sources.list.d/backports.list with the following content:

            deb http://cdn.debian.net/debian {{ debdist }} main
          

You also need a dedicated repository. Enable it with the following commands:

              $ curl http://haproxy.debian.net/bernat.debian.org.gpg | \
                   sudo apt-key add -
              $ sudo tee /etc/apt/sources.list.d/haproxy.list <<EOF
              deb http://haproxy.debian.net {{ debdist }} main
              EOF
            

Then, use the following commands:

            $ apt-get update
            $ apt-get install haproxy -t {{ debdist }}
          

Sorry, there is no option available for you.

You need to enable a dedicated PPA with the following command:

          $ add-apt-repository ppa:vbernat/haproxy-{{ selected.version }}
        

Then, use the following commands:

          $ apt-get update
          $ apt-get install haproxy