# Install haproxy@2.8 with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Reliable, high performance TCP/HTTP load balancer. Version 2.8.26 via Homebrew; verified 2026-07-03.

## Install

```sh
sudo av install brew:haproxy@2.8
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install haproxy@2.8
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install haproxy
```

  Evidence: MacPorts ports tree: net/haproxy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add haproxy
```

  Evidence: Alpine Linux edge package indexes: haproxy from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install haproxy
```

  Evidence: Debian stable package indexes: haproxy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install haproxy
```

  Evidence: Fedora Rawhide package metadata: haproxy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#haproxy
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ha/haproxy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S haproxy
```

  Evidence: Arch Linux sync databases: haproxy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install haproxy
```

  Evidence: openSUSE Tumbleweed package metadata: haproxy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:haproxy@2.8
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/haproxy@2.8>
- **Version:** 2.8.26
- **Source summary:** Reliable, high performance TCP/HTTP load balancer
- **Homepage:** <https://www.haproxy.org/>
- **Repository:** <https://git.haproxy.org/?p=haproxy.git>
- **Upstream docs:** <https://docs.haproxy.org/2.8/configuration.html>
- **License:** GPL-2.0-or-later WITH openvpn-openssl-exception
- **Source archive:** <https://www.haproxy.org/download/2.8/src/haproxy-2.8.26.tar.gz>
- **Last updated:** 2026-07-03T10:39:42Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Dependencies

- openssl@3
- pcre2

## Uses from macOS

- libxcrypt

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.8.26
- Package-manager updated: 2026-07-03
- Local data: ok
- Upstream repository: https://www.haproxy.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

The `haproxy@2.8` package is a version-track package for the HAProxy load balancer. It packages the HAProxy project through the 2.8 branch role, while the project history remains the wider HAProxy history of a high-performance TCP and HTTP proxy.

This distinction matters for operators: the formula name signals branch pinning, not a separate upstream project. Users choose it when they want the HAProxy daemon and documentation behavior associated with the 2.8 branch line.

### Project history

HAProxy grew from Zprox, a slow-client testing and proxying tool described on the official history page. HAProxy 1.0 was developed in 2001 to offload traffic from hardware load balancers; the branch table on haproxy.org lists 1.0 from 2001-12-16.

Across the 1.x line, HAProxy accumulated the features that made it a standard package: health checks, round-robin scheduling, cookie insertion, client-side IPv6, maxconn limits, TCP scripting, ACLs, SSL, compression, Lua scripting, runtime APIs, and multithreading.

HAProxy 2.x continued that path toward cloud and protocol-heavy deployment. The official history page identifies HAProxy 2.0 with Kubernetes ingress, Data Plane API, Prometheus exporter, and cloud-native logging, while the haproxy.org branch table lists HAProxy 2.8 from 2023-05-31.

### Adoption history

HAProxy's adoption is rooted in high-traffic site reliability and package-manager availability. It is distributed through many Unix package managers in the supplied facts, and its upstream site explicitly links to packages, images, branch source directories, documentation, and bug trackers.

The 2.8 branch became a packaging target because HAProxy users often pin branches for operational compatibility. A versioned package lets local tooling, scripts, or deployment tests keep using a branch-specific `haproxy` executable while the general formula can move independently.

### How it is used

Usage is the same operational pattern as HAProxy generally: load balancing HTTP or TCP services, enforcing health checks, managing TLS, routing by ACLs or headers, inspecting traffic, exposing stats, and using management/runtime interfaces for operational control.

For `haproxy@2.8`, the official docs preserved in the input point directly at the 2.8 configuration and management manuals. That makes the package useful when a local test or deployment depends on 2.8-era configuration syntax or branch behavior.

### Why package nerds care

Versioned HAProxy formulae are significant because load balancers are infrastructure compatibility boundaries. Config syntax, TLS library linkage, QUIC behavior, reload behavior, and observability details can all matter more than the mere presence of the executable.

Package maintainers therefore care about branch naming, source archive provenance, bottle linkage, and whether a versioned branch is intended for critical fixes, broad maintenance, or compatibility testing. The formula role is branch access, not a fork.

### Timeline

- 1999: Zprox described as the testing ancestor of HAProxy.
- 2001-12-16: HAProxy 1.0 branch listed by haproxy.org.
- 2014-06-19: HAProxy 1.5 branch listed; official history highlights SSL and compression.
- 2017-11-26: HAProxy 1.8 branch listed; official history highlights multithreading.
- 2019-06-16: HAProxy 2.0 branch listed; official history highlights Kubernetes ingress, Data Plane API, and Prometheus exporter.
- 2023-05-31: HAProxy 2.8 branch listed by haproxy.org.
- 2023: HAProxy history page associates the 2.8 branch with production-ready QUIC work, Lua-based mailers, OCSP auto updates, Let's Encrypt support, wolfSSL support, and operational improvements.

### Related projects

- Related HAProxy ecosystem projects include the HAProxy Kubernetes Ingress Controller, HAProxy Data Plane API, Prometheus exporters, stats tools, Docker images, and branch-specific documentation sets.
- Adjacent load-balancing and proxy projects include NGINX, Envoy, Varnish, and Keepalived.

### Sources

- <https://docs.haproxy.org/2.8/configuration.html>
- <https://docs.haproxy.org/2.8/management.html>
- <https://www.haproxy.com/history>
- <https://www.haproxy.org/>


## Security Notes

No matching local secret-handling manifest was found for haproxy@2.8. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** haproxy@2.8
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - haproxy - 3.0.11-1+deb13u2: versioned package alias match | Debian stable package indexes: haproxy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast and reliable load balancing reverse proxy | http://www.haproxy.org/
- Debian apt - haproxy-doc - 3.0.11-1+deb13u2: versioned package alias match | Debian stable package indexes: haproxy-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast and reliable load balancing reverse proxy (HTML documentation) | http://www.haproxy.org/
- Debian apt - vim-haproxy - 3.0.11-1+deb13u2: versioned package alias match | Debian stable package indexes: vim-haproxy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | syntax highlighting for HAProxy configuration files | http://www.haproxy.org/
- Nix - haproxy: versioned package alias match | nixpkgs package indexes: pkgs/by-name/ha/haproxy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - haproxy - 2.8.5-1ubuntu3: versioned package alias match | Ubuntu 24.04 LTS package indexes: haproxy from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | fast and reliable load balancing reverse proxy | http://www.haproxy.org/
- Ubuntu apt - haproxy-doc - 2.8.5-1ubuntu3: versioned package alias match | Ubuntu 24.04 LTS package indexes: haproxy-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast and reliable load balancing reverse proxy (HTML documentation) | http://www.haproxy.org/
- Ubuntu apt - vim-haproxy - 2.8.5-1ubuntu3: versioned package alias match | Ubuntu 24.04 LTS package indexes: vim-haproxy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | syntax highlighting for HAProxy configuration files | http://www.haproxy.org/
- apk - haproxy - 3.4.0-r0: versioned package alias match | Alpine Linux edge package indexes: haproxy from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A TCP/HTTP reverse proxy for high availability environments | https://www.haproxy.org/
- apk - haproxy-doc - 3.4.0-r0: versioned package alias match | Alpine Linux edge package indexes: haproxy-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A TCP/HTTP reverse proxy for high availability environments (documentation) | https://www.haproxy.org/
- apk - haproxy-openrc - 3.4.0-r0: versioned package alias match | Alpine Linux edge package indexes: haproxy-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A TCP/HTTP reverse proxy for high availability environments (OpenRC init scripts) | https://www.haproxy.org/
- dnf - haproxy - 3.4.0-1.fc45: versioned package alias match | Fedora Rawhide package metadata: haproxy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Reliable, high-performance TCP/HTTP load-balancing reverse proxy | https://www.haproxy.org/
- pacman - haproxy - 3.4.0-2: versioned package alias match | Arch Linux sync databases: haproxy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Reliable, high performance TCP/HTTP load balancer | https://www.haproxy.org/
- zypper - haproxy - 3.4.0+git0.64a335366-1.1: versioned package alias match | openSUSE Tumbleweed package metadata: haproxy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | The Reliable, High Performance TCP/HTTP Load Balancer | https://www.haproxy.org/
- MacPorts - haproxy: versioned package alias match | MacPorts ports tree: net/haproxy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pcre2](https://www.automicvault.com/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [haproxy](https://www.automicvault.com/pkg/brew/haproxy/) - Package name indicates the same formula family.
- [varnish](https://www.automicvault.com/pkg/brew/varnish/) - Local package facts share a topical domain. Shared terms: high, http, openssl, openssl-3, pcre2.
- [berkeley-db](https://www.automicvault.com/pkg/brew/berkeley-db/) - Local package facts share a topical domain. Shared terms: high, load, openssl, openssl-3, performance.

## Combined YAML source

View the package source record on GitHub. [combined/haproxy@2.8.yml](https://github.com/automic-vault/db/blob/main/combined/haproxy@2.8.yml)


## Sources

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
