How to Install and Uninstall haproxy Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 14,2024

1. Install "haproxy" package

This is a short guide on how to install haproxy on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install haproxy

2. Uninstall "haproxy" package

This tutorial shows how to uninstall haproxy on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove haproxy $ sudo apt autoclean && sudo apt autoremove

3. Information about the haproxy package on Ubuntu 20.04 LTS (Focal Fossa)

Package: haproxy
Architecture: amd64
Version: 2.0.33-0ubuntu0.1
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian HAProxy Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3244
Pre-Depends: dpkg (>= 1.17.14)
Depends: libc6 (>= 2.17), libcrypt1 (>= 1:4.1.0), libgcc-s1 (>= 3.0), liblua5.3-0, libpcre2-8-0 (>= 10.22), libssl1.1 (>= 1.1.1), libsystemd0, zlib1g (>= 1:1.1.4), adduser, lsb-base (>= 3.0-6)
Suggests: vim-haproxy, haproxy-doc
Filename: pool/main/h/haproxy/haproxy_2.0.33-0ubuntu0.1_amd64.deb
Size: 1542088
MD5sum: 22b0e602b516b7c83fcfaa44ae74062f
SHA1: d077d21f8d902b3cb3a6664c3870f57cc91a1f19
SHA256: c09fc681719e0023bf875ee402797112f9e9dd8a26609d4d56da3f4bd97bd48a
SHA512: ff3cf70969fbbc74de94b5e2da7e332426592dc8810a8b2d547a0a7026123b8f91ae814c6dce37cd11dbd6a3e345e9954db438e4002bc88057ca835e83f7f7f2
Homepage: http://www.haproxy.org/
Description: fast and reliable load balancing reverse proxy
Description-md5: 29390feb7563fd9f1e74f245bf31a64c

Package: haproxy
Architecture: amd64
Version: 2.0.31-0ubuntu0.3
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian HAProxy Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3244
Pre-Depends: dpkg (>= 1.17.14)
Depends: libc6 (>= 2.17), libcrypt1 (>= 1:4.1.0), libgcc-s1 (>= 3.0), liblua5.3-0, libpcre2-8-0 (>= 10.22), libssl1.1 (>= 1.1.1), libsystemd0, zlib1g (>= 1:1.1.4), adduser, lsb-base (>= 3.0-6)
Suggests: vim-haproxy, haproxy-doc
Filename: pool/main/h/haproxy/haproxy_2.0.31-0ubuntu0.3_amd64.deb
Size: 1540924
MD5sum: 25c3d6ed3c8a75ea445e51dfa6d9aca2
SHA1: b11fe1e1e7953aa06e8e0284541199aa25feca7f
SHA256: 2b42d0e1d0740f9d3215cd8afec2bf93059e9103f51c82cbb855588327dae8d0
SHA512: 415436770aee04663d8fbe590eb4408015dca78bba0f26353388d5651888099c1e1036f79462a9d550d112aabba1b7ae0330c63af542c487d3d153fba2fd5c22
Homepage: http://www.haproxy.org/
Description: fast and reliable load balancing reverse proxy
Description-md5: 29390feb7563fd9f1e74f245bf31a64c

Package: haproxy
Architecture: amd64
Version: 2.0.13-2
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian HAProxy Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3210
Pre-Depends: dpkg (>= 1.17.14)
Depends: libc6 (>= 2.17), libcrypt1 (>= 1:4.1.0), libgcc-s1 (>= 3.0), liblua5.3-0, libpcre2-8-0 (>= 10.22), libssl1.1 (>= 1.1.1), libsystemd0, zlib1g (>= 1:1.1.4), adduser, lsb-base (>= 3.0-6)
Suggests: vim-haproxy, haproxy-doc
Filename: pool/main/h/haproxy/haproxy_2.0.13-2_amd64.deb
Size: 1519012
MD5sum: ba7aab2417b388c2ec5dd843f45fbf0f
SHA1: 457eb2a87b89309a1c59d848360c4a4e090fdf66
SHA256: 64290766f2e9f537120af1a8bdf5c825c345865fe3b956ed159dfc7d305a5be8
Homepage: http://www.haproxy.org/
Description: fast and reliable load balancing reverse proxy
Description-md5: 29390feb7563fd9f1e74f245bf31a64c