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

Last updated: November 26,2024

1. Install "fail2ban" package

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

$ sudo apt update $ sudo apt install fail2ban

2. Uninstall "fail2ban" package

This is a short guide on how to uninstall fail2ban on Debian 12 (Bookworm):

$ sudo apt remove fail2ban $ sudo apt autoclean && sudo apt autoremove

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

Package: fail2ban
Version: 1.0.2-2
Installed-Size: 2129
Maintainer: Debian Python Team
Architecture: all
Depends: python3:any
Recommends: nftables | iptables, whois, python3-pyinotify, python3-systemd
Suggests: mailx, system-log-daemon, monit, sqlite3
Description: ban hosts that cause multiple authentication errors
Description-md5: 06685647beb252b706838adf56a34b2a
Homepage: https://www.fail2ban.org
Tag: admin::automation, admin::logging, admin::monitoring,
implemented-in::python, interface::commandline, interface::daemon,
network::firewall, protocol::ip, role::program,
security::authentication, security::firewall, security::ids,
security::log-analyzer, use::login, use::monitor,
works-with-format::plaintext, works-with::logfile, works-with::text
Section: net
Priority: optional
Filename: pool/main/f/fail2ban/fail2ban_1.0.2-2_all.deb
Size: 451116
MD5sum: e7b8a41bfe2a6bc669a2e04082038cae
SHA256: 9717b7aeef7b00f0df4c76045cd6dab2755cbe9fc99dbfe3cd114126880ec7f7