Debian Ubuntu RHEL

HAProxy Repository Setup for Debian

Follow these instructions to configure your Debian system to use the official HAProxy package repository.


Distribution
HAProxy Version

1. Download and Store the Repository GPG Key

This key is used to verify the authenticity of the packages. The key is stored in a separate file to improve security.

# Create a directory for the key if it doesn't exist
sudo install -d -m 0755 /usr/share/keyrings
# Download the GPG key
sudo wget -qO /usr/share/keyrings/HAPROXY-key-community.asc https://www.haproxy.com/download/haproxy/HAPROXY-key-community.asc

2. Add the Repository to Sources

This tells your system where to find the packages and which key to use for verification.

# Add the HAProxy repository for [[OS]] and HAProxy [[VERSION]]
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/HAPROXY-key-community.asc] https://www.haproxy.com/download/haproxy/performance/debian/ha[[VERSIONNUMERALS]] [[OSLOWERCASE]] main" | sudo tee /etc/apt/sources.list.d/haproxy.list

3. Update and Install HAProxy

Finally, update your package list and install the desired HAProxy package.

sudo apt-get update
sudo apt-get install haproxy-awslc

HAProxy Repository Setup for Ubuntu

Follow these instructions to configure your Ubuntu system to use the official HAProxy package repository.


Distribution
HAProxy Version

1. Download and Store the Repository GPG Key

This key is used to verify the authenticity of the packages. The key is stored in a separate file to improve security.

# Create a directory for the key if it doesn't exist
sudo install -d -m 0755 /usr/share/keyrings
# Download the GPG key
sudo wget -qO /usr/share/keyrings/HAPROXY-key-community.asc https://www.haproxy.com/download/haproxy/HAPROXY-key-community.asc

2. Add the Repository to Sources

This tells your system where to find the packages and which key to use for verification.

Browse Repository Contents →

# Add the HAProxy repository for [[OS]] and HAProxy [[VERSION]]
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/HAPROXY-key-community.asc] https://www.haproxy.com/download/haproxy/performance/ubuntu/ha[[VERSIONNUMERALS]] [[OSLOWERCASE]] main" | sudo tee /etc/apt/sources.list.d/haproxy.list

3. Update and Install HAProxy

Finally, update your package list and install the desired HAProxy package.

sudo apt-get update
sudo apt-get install haproxy-awslc

RHEL/CentOS Repository Coming Soon!

We are currently working hard to get the HAProxy repository for RHEL-based systems up and running.

Please check back soon for updates.

Why upgrade to enterprise?

Manage, secure, and observe all your traffic with a unified platform

HAProxy Community Edition is fast, flexible, and reliable. But as your business grows, your application delivery needs may evolve.

HAProxy One combines the open source core you know with the enterprise capabilities needed to power mission-critical applications in the world's most demanding organizations.

If you need security without compromise

Access the HAProxy Enterprise WAF (powered by the Intelligent WAF Engine) and the HAProxy Enterprise Bot Management Module to stop threats at the edge with exceptional accuracy and ultra-low latency.

If you need stability and compliance

Get long-term supported (LTS) releases, FIPS-compliant cryptography modules, and award-winning 24/7 authoritative support from the expert engineers behind HAProxy.

If you need management and observability at scale

Unified control through HAProxy Fusion Control Plane provides centralized management, observability, and automation for multi-cluster, multi-cloud, and multi-team deployments.

Ready to do more?

Whether you need a demo of the HAProxy Enterprise WAF, pricing for global support, or architectural guidance, we’re here to help.

Get a demo Find out more