# Upgrading from sources to haproxy 2.5

**URL:** <https://discourse.haproxy.org/t/upgrading-from-sources-to-haproxy-2-5/7146>\
**Category:** Help!\
**Created:** [November 30, 2021, 10:26am UTC](https://discourse.haproxy.org/t/upgrading-from-sources-to-haproxy-2-5/7146 "2021-11-30T10:26:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anatoli](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Anatoli](https://discourse.haproxy.org/u/Anatoli)\
**Post date:** [November 30, 2021, 10:26am UTC](https://discourse.haproxy.org/t/upgrading-from-sources-to-haproxy-2-5/7146/1 "2021-11-30T10:26:24Z")

</div>

Please help me i need to upgrade from haproxy 2.2.11 (installed from sources) unde centos  
to haproxy 2.5 (also from sources)  
Should i make uninstall beforehand old version or i can trry install haproxy 2.5 from  
sources nevertheless of an existing installation

how to check if any pitfalls may come out  
how to check the same config should work with old settings or some settings will not work  
Any help please who already did it on existing system with zero-time stop

---

<div class="post-metadata">

**Author:** ![rhada](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.haproxy.org/rhada/32/585_2.png) [@rhada](https://discourse.haproxy.org/u/rhada)\
**Post date:** [November 30, 2021, 10:41am UTC](https://discourse.haproxy.org/t/upgrading-from-sources-to-haproxy-2-5/7146/2 "2021-11-30T10:41:18Z")

</div>

Hello,

first of all, you have to check the release notes to see if any changes could broke your config.

After that maybe you can try your config in docker env.

Regarding the build, i would test in preprod or dev env before trying to do it in prod. I’m not really into building from source, but you should be able to build in a build directory before replacing the current bin with the new one.
