Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 haproxy

查看 haproxy 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install haproxy

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install haproxy

MacPorts ports tree · net/haproxy/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add haproxy

Alpine Linux edge package indexes · haproxy · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install haproxy

Debian stable package indexes · haproxy · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install haproxy

Fedora Rawhide package metadata · haproxy · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#haproxy

nixpkgs package indexes · pkgs/by-name/ha/haproxy/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S haproxy

Arch Linux sync databases · haproxy · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install haproxy

openSUSE Tumbleweed package metadata · haproxy · 来源: download.opensuse.org

概览

软件包摘要

Reliable, high performance TCP/HTTP load balancer

命令和别名

  • haproxy

历史

项目历史与用法

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.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
haproxycli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本3.4.2
管理器更新时间2026-07-03
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.haproxy.org/

安装元数据

软件包元数据

软件包键brew:haproxy
版本3.4.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/haproxy
主页https://www.haproxy.org/
仓库https://git.haproxy.org/?p=haproxy.git
上游文档https://docs.haproxy.org/
许可证GPL-2.0-or-later WITH openvpn-openssl-exception
源码归档https://www.haproxy.org/download/3.4/src/haproxy-3.4.2.tar.gz
最后更新2026-07-03T10:39:29Z
Pulseupdated
依赖openssl@3, pcre2
macOS 提供的库libxcrypt
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehaproxy
Aliases
  • haproxy@3.4
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

haproxy 3.0.11-1+deb13u2

fast and reliable load balancing reverse proxy

http://www.haproxy.org/

sudo apt install haproxy
  • Section: net
  • Architecture: amd64
  • 9 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Haproxy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: haproxy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

haproxy-doc 3.0.11-1+deb13u2

fast and reliable load balancing reverse proxy (HTML documentation)

http://www.haproxy.org/

sudo apt install haproxy-doc
  • Section: doc
  • Architecture: all
  • Source Package: haproxy
  • 3 依赖
  • normalized package name match
  • 匹配方式:Haproxy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: haproxy-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

vim-haproxy 3.0.11-1+deb13u2

syntax highlighting for HAProxy configuration files

http://www.haproxy.org/

sudo apt install vim-haproxy
  • Section: net
  • Architecture: all
  • Source Package: haproxy
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Haproxy
Debian stable package indexes · deb.debian.org · Debian stable package indexes: vim-haproxy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

haproxy

nix profile install nixpkgs#haproxy
  • normalized package name match
  • 匹配方式:Haproxy
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ha/haproxy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

haproxy 2.8.5-1ubuntu3

fast and reliable load balancing reverse proxy

http://www.haproxy.org/

sudo apt install haproxy
  • Section: net
  • Architecture: amd64
  • 8 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Haproxy
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: haproxy from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

haproxy-doc 2.8.5-1ubuntu3

fast and reliable load balancing reverse proxy (HTML documentation)

http://www.haproxy.org/

sudo apt install haproxy-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: haproxy
  • 3 依赖
  • normalized package name match
  • 匹配方式:Haproxy
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: haproxy-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

vim-haproxy 2.8.5-1ubuntu3

syntax highlighting for HAProxy configuration files

http://www.haproxy.org/

sudo apt install vim-haproxy
  • Section: universe/net
  • Architecture: all
  • Source Package: haproxy
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Haproxy
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: vim-haproxy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

haproxy 3.4.0-r0

A TCP/HTTP reverse proxy for high availability environments

https://www.haproxy.org/

sudo apk add haproxy
  • License: GPL-2.0-or-later WITH OpenSSL-Exception
  • Architecture: x86_64
  • Source Package: haproxy
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Haproxy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: haproxy from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

haproxy-doc 3.4.0-r0

A TCP/HTTP reverse proxy for high availability environments (documentation)

https://www.haproxy.org/

sudo apk add haproxy-doc
  • License: GPL-2.0-or-later WITH OpenSSL-Exception
  • Architecture: x86_64
  • Source Package: haproxy
  • normalized package name match
  • 匹配方式:Haproxy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: haproxy-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

haproxy-openrc 3.4.0-r0

A TCP/HTTP reverse proxy for high availability environments (OpenRC init scripts)

https://www.haproxy.org/

sudo apk add haproxy-openrc
  • License: GPL-2.0-or-later WITH OpenSSL-Exception
  • Architecture: x86_64
  • Source Package: haproxy
  • normalized package name match
  • 匹配方式:Haproxy
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: haproxy-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

haproxy 3.4.0-1.fc45

Reliable, high-performance TCP/HTTP load-balancing reverse proxy

https://www.haproxy.org/

sudo dnf install haproxy
  • License: GPL-2.0-or-later AND LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: haproxy
  • 11 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Haproxy
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: haproxy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

haproxy 3.4.0-2

Reliable, high performance TCP/HTTP load balancer

https://www.haproxy.org/

sudo pacman -S haproxy
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 7 依赖
  • normalized package name match
  • 匹配方式:Haproxy
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: haproxy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

haproxy 3.4.0+git0.64a335366-1.1

The Reliable, High Performance TCP/HTTP Load Balancer

https://www.haproxy.org/

sudo zypper install haproxy
  • License: GPL-3.0-or-later AND LGPL-2.1-or-later
  • Category: Productivity/Networking/Web/Proxy
  • Architecture: x86_64
  • Source Package: haproxy
  • 9 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Haproxy
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: haproxy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

haproxy

sudo port install haproxy
  • normalized package name match
  • 匹配方式:Haproxy
MacPorts ports tree · api.github.com · MacPorts ports tree: net/haproxy/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment