HAProxy stands for High Availability Proxy, If you are running the Ubuntu Trusty-14.04 LTS operating system and install  HAProxy 1.5-stable version.

First, Need to enable a Dedicated PPA using below commands on Ubuntu Trusty-14.04 LTS


# echo deb http://archive.ubuntu.com/ubuntu trusty-backports main universe | \
      tee /etc/apt/sources.list.d/backports.list

then, execute the below commands,

# apt-get update

# apt-get install haproxy -t trusty-backports

You will get HAProxy 1.5-stable version, which means you may not a latest one.

Need to enable a Dedicated PPA using below commands on Ubuntu Trusty-14.04 LTS

# apt-get install software-properties-common

# add-apt-repository ppa:vbernat/haproxy-1.5

then, execute the below commands,

# apt-get update

# apt-get install haproxy

You will able to access the  latest release of HAProxy 1.5-stable.