How to Install and Uninstall haproxy Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 14,2024

1. Install "haproxy" package

This guide let you learn how to install haproxy on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install haproxy

2. Uninstall "haproxy" package

Please follow the guidelines below to uninstall haproxy on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the haproxy package on Ubuntu 21.04 (Hirsute Hippo)

Package: haproxy
Architecture: amd64
Version: 2.2.9-1build1
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian HAProxy Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3510
Pre-Depends: dpkg (>= 1.17.14), init-system-helpers (>= 1.54~)
Depends: libc6 (>= 2.33), 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.2.9-1build1_amd64.deb
Size: 1626652
MD5sum: e36bd40391483bcdac34bc9bd6eb6753
SHA1: 1bbf6bb789f2b1ae7b7d2704848613025404d46d
SHA256: 115f426fd89b7edade7e6ccc22928b606971fe6efe281eaa51c8bb142db6cc23
SHA512: 8061b8f9fad9b77acd32b0114087ffb2af545f07b6813cbddd7bbf84e11571fdea96a4d9aa1fdaff6c7b4b5b623dfbcc6e7eb9545ca93b8986e3870e1aeda32c
Homepage: http://www.haproxy.org/
Description-en: fast and reliable load balancing reverse proxy
HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high
availability environments. It features connection persistence through HTTP
cookies, load balancing, header addition, modification, deletion both ways. It
has request blocking capabilities and provides interface to display server
status.
Description-md5: 29390feb7563fd9f1e74f245bf31a64c