# Update HAProxy to latest release (2.6.0)

**URL:** <https://dietpi.com/forum/t/update-haproxy-to-latest-release-2-6-0/13347>\
**Category:** Requests\
**Created:** [6 June 2022 13:33 UTC](https://dietpi.com/forum/t/update-haproxy-to-latest-release-2-6-0/13347 "2022-06-06T13:33:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mariusrugan](https://dietpi.com/forum/user_avatar/dietpi.com/mariusrugan/32/2009_2.png) [@mariusrugan](https://dietpi.com/forum/u/mariusrugan)\
**Post date:** [6 June 2022 13:33 UTC](https://dietpi.com/forum/t/update-haproxy-to-latest-release-2-6-0/13347/1 "2022-06-06T13:33:02Z")

</div>

Hi,

is it possible to share how HAProxy is built and distributed ? i can’t seem to find it in packages with dpkg.  
i’m running:

- DietPi v8.5.1
- Device model : RPi 4 Model B (aarch64)

which installs  
HAProxy version 2.5.1-86b093a 2022/01/11 - [https://haproxy.org/](https://haproxy.org/)  
which also is couple of versions behind from that line (2.5.7 is the latest one)

thanks in advance!

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [6 June 2022 15:22 UTC](https://dietpi.com/forum/t/update-haproxy-to-latest-release-2-6-0/13347/2 "2022-06-06T15:22:20Z")

</div>

Hi, welcome to our community.

Basically we install version 2.5.1 as a fixed version defined on our `dietpi-software` script

> <https://github.com/MichaIng/DietPi/blob/master/dietpi/dietpi-software#L7221>

Maybe we should update this to a newer version like 2.6 as available on [Index of /download](https://www.haproxy.org/download/) 🤔

---

<div class="post-metadata">

**Author:** ![mariusrugan](https://dietpi.com/forum/user_avatar/dietpi.com/mariusrugan/32/2009_2.png) [@mariusrugan](https://dietpi.com/forum/u/mariusrugan)\
**Post date:** [6 June 2022 16:05 UTC](https://dietpi.com/forum/t/update-haproxy-to-latest-release-2-6-0/13347/3 "2022-06-06T16:05:42Z")

</div>

Hi,  
thanks for your quick re:, and for pointing out where is being handled.

The reason i’m down this rabbit hole is because i would like to compile prometheus support in HAProxy, as per ([HAProxy Exposes a Prometheus Metrics Endpoint - HAProxy Technologies](https://www.haproxy.com/blog/haproxy-exposes-a-prometheus-metrics-endpoint/)).

Will try to open a PR.

Also is there an example where user is prompted to select versions when installing software ?  
(e.g. latest 2.5 in our case or latest 2.6)

Thanks!

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [6 June 2022 16:17 UTC](https://dietpi.com/forum/t/update-haproxy-to-latest-release-2-6-0/13347/4 "2022-06-06T16:17:05Z")

</div>

usually we aim to download latest version automatically. In terms of HAProxy it’s not that easy to find out by our script on the given download page. Therefore we use a hardcode version. I guess we will update this for the next release to be version 2.6

I opened PR to change this: [DietPi-Software | HAProxy by Joulinar · Pull Request #5550 · MichaIng/DietPi · GitHub](https://github.com/MichaIng/DietPi/pull/5550)

---

<div class="post-metadata">

**Author:** ![mariusrugan](https://dietpi.com/forum/user_avatar/dietpi.com/mariusrugan/32/2009_2.png) [@mariusrugan](https://dietpi.com/forum/u/mariusrugan)\
**Post date:** [6 June 2022 21:39 UTC](https://dietpi.com/forum/t/update-haproxy-to-latest-release-2-6-0/13347/5 "2022-06-06T21:39:19Z")

</div>

thanks,  
left a comment in GH PR.

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [8 November 2026 13:19 UTC](https://dietpi.com/forum/t/update-haproxy-to-latest-release-2-6-0/13347/6 "2026-11-08T13:19:10Z")

</div>

We ship up-to-date APT packages in the meantime.
