# haproxy を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

haproxy のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install haproxy
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install haproxy
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

- Nix (92%):

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

  証拠: 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
```

  証拠: 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
```

  証拠: openSUSE Tumbleweed package metadata: haproxy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:haproxy
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.4.3
- **ソース概要:** Reliable, high performance TCP/HTTP load balancer
- **ホームページ:** <https://www.haproxy.org/>
- **最終更新:** 2026-07-29T20:22:02Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- haproxy (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.4.3
## プロジェクトの歴史と使われ方

HAProxy is a long-running open source TCP and HTTP reverse proxy and load balancer. Its project identity is unusually tied to operations culture: it is a small, fast daemon, configured with plain text, used for health checks, traffic steering, failover, TLS termination, observability, and controlled reloads in Unix-like production environments.

For package users, HAProxy matters because it sits at the point where upstream release branches, distribution packaging, TLS libraries, init systems, and operational safety meet. The Homebrew package represents the general HAProxy command-line daemon rather than a language library or desktop application.

### プロジェクトの歴史

The HAProxy history page traces the project back to Zprox, a tool used in 1999 to test how applications behaved with many slow modem clients. In 2000 Zprox gained header rewriting and a minimal configuration language with concepts such as listeners and servers; in 2001 HAProxy 1.0 appeared as a tool for offloading traffic from hardware load balancers.

The public branch table on haproxy.org places HAProxy 1.0 on 2001-12-16, followed by 1.1 in 2002, 1.2 in 2003, and 1.3 in 2006. The early releases established the durable shape of the program: a single-purpose network daemon, a configuration file centered on frontends/backends/listeners/servers, health checking, cookie persistence, logging, and incremental protocol support.

HAProxy evolved by adding operational features without changing its basic package identity. HAProxy 1.5 brought SSL and compression into the community branch, 1.8 introduced multithreading and HTTP/2-era plumbing, 2.0 added cloud-native-adjacent features such as the Kubernetes Ingress Controller, Data Plane API, and Prometheus exporter, and 2.8 added production-oriented QUIC work along with reliability, observability, and usability improvements.

### 採用の歴史

HAProxy became a standard choice for high-traffic HTTP and TCP load balancing because it combined low overhead, predictable behavior, and admin-friendly configuration. The project homepage emphasizes high availability, reliability, performance, and security, and the package appears across many Unix package managers in the supplied input facts.

Its adoption also reflects a packaging pattern: operations teams often need distro or package-manager builds for repeatable deployment, while also caring about exact upstream branch support, OpenSSL or alternate TLS linkage, systemd integration, and whether a branch receives only critical fixes or broader maintenance.

### 使われ方

Typical use is as a front-line or internal load balancer: accepting HTTP or raw TCP connections, selecting backends, checking server health, adding forwarded headers, terminating TLS, exposing stats, and allowing controlled reloads or runtime changes.

For Homebrew users, the package provides the `haproxy` executable for local development, test rigs, laptop-hosted reverse proxying, and small deployments. Production Unix installations commonly pair the daemon with a service manager and a configuration file such as `haproxy.cfg`, but the batch input has no official config path to preserve.

### パッケージ好きにとっての重要性

HAProxy is package-nerd material because it is both tiny in surface area and heavy in operational consequences. A package revision can change TLS behavior, threading defaults, QUIC support, Lua support, compression, service files, or hardening flags.

The project's parallel branch model makes version selection meaningful. A formula named `haproxy` follows the general package role, while versioned formulae such as `haproxy@2.8` exist to keep a particular upstream branch available for operators who need that branch's ABI, behavior, or support window.

### タイムライン

- 1999: Zprox used as a slow-client testing tool.
- 2001-12-16: HAProxy 1.0 branch listed by haproxy.org.
- 2002-03-10: HAProxy 1.1 branch adds early scheduler, health-check, logging, and cookie features.
- 2003-11-09: HAProxy 1.2 branch adds client-side IPv6 and maxconn-era scaling features.
- 2014-06-19: HAProxy 1.5 branch listed; project history highlights SSL and compression.
- 2017-11-26: HAProxy 1.8 branch listed; project history highlights multithreading and HTTP/2-related work.
- 2019-06-16: HAProxy 2.0 branch listed; project history highlights cloud-native logging, Kubernetes ingress, Data Plane API, and Prometheus exporter.
- 2023-05-31: HAProxy 2.8 branch listed; project history and homepage describe QUIC and operational improvements in that branch.

### Related projects

- Related infrastructure includes NGINX, Envoy, Varnish, Keepalived, the HAProxy Kubernetes Ingress Controller, the HAProxy Data Plane API, and tools that consume HAProxy's stats or runtime interfaces.
- The PROXY protocol is closely associated with HAProxy's ecosystem because it lets upstream proxies preserve client connection metadata across TCP hops.

### ソース

- <https://docs.haproxy.org/>
- <https://github.com/haproxy/haproxy/>
- <https://www.haproxy.com/history>
- <https://www.haproxy.org/>


## セキュリティノート

formula declares a Homebrew service.

- **Geiger リスク:** orange / 中
- formula declares a Homebrew service

## 他のパッケージマネージャ記録

- Debian apt - haproxy - 3.0.11-1+deb13u3: normalized package name 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+deb13u3: normalized package name 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+deb13u3: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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: normalized package name 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.3-r0: normalized package name 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.3-r0: normalized package name 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.3-r0: normalized package name 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.3-1.fc45: normalized package name match | Fedora Rawhide package metadata: haproxy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Reliable, high-performance TCP/HTTP load-balancing reverse proxy | https://www.haproxy.org/
- pacman - haproxy - 3.4.3-1: normalized package name 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.3+git0.80ea565fd-1.1: normalized package name match | openSUSE Tumbleweed package metadata: haproxy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The Reliable, High Performance TCP/HTTP Load Balancer | https://www.haproxy.org/
- MacPorts - haproxy: normalized package name match | MacPorts ports tree: net/haproxy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/haproxy.yml](https://github.com/mxcl/pkgdb/blob/main/combined/haproxy.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
