Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is a weird one.

I've installed the EPEL for CentOS 6 via

# rpm -Uvh

The tried to install HAProxy:

# yum update
# yum install haproxy

But receive:

Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base:
 * epel:
 * extras:
 * updates:
Setting up Install Process
No package haproxy available.
Error: Nothing to do

Can't figure out why haproxy is not found! Help?

share|improve this question
Why the downvote? In this case, the package is not in the El6 repositories, contrary to the installation instructions provided in several online tutorials. – ewwhite Feb 24 '13 at 18:52
up vote 16 down vote accepted

The haproxy package has been removed from EPEL because it is now included with RHEL 6.4 (and will be in derivative distributions after they build 6.4).

Red Hat Enterprise Linux 6.4 introduces the haproxy package as a Technology Preview.

If you need it now, you can obtain Red Hat's 6.4 SRPM and rebuild it on your system (the same way CentOS will shortly). For example:

mock -r epel-6-x86_64 haproxy-1.4.22-3.el6.src.rpm

Otherwise you can wait for CentOS 6.4 and then it will be available through the base repository.

share|improve this answer
Thanks for finding that. – ewwhite Feb 25 '13 at 4:02
Likewise. Thanks for the info. – Elijah Paul Feb 25 '13 at 16:43
@MichaelHampton updated. :) Thanks again. – Elijah Paul Feb 26 '13 at 4:35
EPEL is gross; it is nice to see this getting baked into sensible production OSes like RedHat and Debian. – user162929 Mar 5 '13 at 2:50

HAProxy is not part of the general subscription.

You'll need to add the "RHEL Server Load Balancer (v. 6 for 64-bit x86_64)" channel to your entitlements before you can "yum install haproxy"

share|improve this answer
This would be correct except that this is CentOS, not RHEL. – Jacob May 2 '13 at 0:52
@Jacob True, but this will be useful to RHEL users who find this question. – Michael Hampton May 17 '13 at 1:00

You took the right steps, however it appears as though HAProxy is no longer available in the EPEL software repository for EL6 distributions.

The old links no longer work.

share|improve this answer
I was thinking this might me the reason. Any idea as to why it'd be removed from the EPEL repos? I Googled but couldn't find any info (blogs) as to why its been removed. – Elijah Paul Feb 25 '13 at 3:26
Neither could I! No explanation. I'll dig a little deeper. – ewwhite Feb 25 '13 at 3:29
Thanks. I try and do a bit of digging myself! Removal from the repo was the last thing I would have suspected! – Elijah Paul Feb 25 '13 at 3:32

HAProxy is not part of CentOS, but it used to be part of the Fedora EPEL repository. However since RHEL6.4 HAProxy is part of Red Hat's Load Balancer product/addon and EPEL's policy to not conflict with Red Hat's offerings resulted in HAProxy to be removed from Fedora's EPEL repository.

Since HAProxy is part of RHEL's released product (albeit as an addon and a Technology Preview) it means CentOS does include it in their normal CentOS-6.4 offering (much like it includes other addon products, e.g. High-Availability). This means CentOS includes it in its main repository.

Beware that, while it may not be obvious to a lot of CentOS users, haproxy is a Technology Preview, which means that it is not (yet) supported by Red Hat, either because Red Hat does not feel comfortable supporting it already, or because they expect another major/minor release update, or the roadmap for the product is still changing (new functionality, known bugs). Whatever the reason the lack of support means there are reasons for Red Hat to assume the support cannot be guaranteed, which is something a CentOS user should be aware of as the CentOS project does not specifically mention this.

share|improve this answer

Another method would be just downloading the epel rpm and doing a yum localinstall.

A 10 second search and I found the beta package available:

yum localinstall haproxy-1.4.8-1.el6.x86_64.rpm
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.