How to Install and Uninstall haproxy Package on Debian 12 (Bookworm)

Last updated: May 14,2024

1. Install "haproxy" package

Please follow the step by step instructions below to install haproxy on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install haproxy

2. Uninstall "haproxy" package

This guide covers the steps necessary to uninstall haproxy on Debian 12 (Bookworm):

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

3. Information about the haproxy package on Debian 12 (Bookworm)

Package: haproxy
Version: 2.6.12-1+deb12u1
Installed-Size: 4223
Maintainer: Debian HAProxy Maintainers
Architecture: amd64
Depends: libc6 (>= 2.34), libcrypt1 (>= 1:4.1.0), liblua5.3-0, libopentracing-c-wrapper0 (>= 1.1.0), libpcre2-8-0 (>= 10.22), libssl3 (>= 3.0.0), libsystemd0, adduser, lsb-base (>= 3.0-6)
Pre-Depends: dpkg (>= 1.17.14), init-system-helpers (>= 1.54~)
Suggests: vim-haproxy, haproxy-doc
Description: fast and reliable load balancing reverse proxy
Description-md5: 29390feb7563fd9f1e74f245bf31a64c
Homepage: http://www.haproxy.org/
Tag: implemented-in::c, interface::daemon, network::hiavailability,
network::load-balancing, network::server, network::service,
protocol::http, protocol::tcp, role::program, use::filtering,
use::proxying
Section: net
Priority: optional
Filename: pool/main/h/haproxy/haproxy_2.6.12-1+deb12u1_amd64.deb
Size: 2042164
MD5sum: 31b0f8d1a3bbdf5f7b8038301ad83f8c
SHA256: 19f7ce90fe69ec0b28d4744e23d81b1e481fbd3fd225a51d659b7a42a6714134