How to Install and Uninstall fail2ban Package on Debian 11 (Bullseye)

Last updated: April 28,2024

1. Install "fail2ban" package

In this section, we are going to explain the necessary steps to install fail2ban on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install fail2ban

2. Uninstall "fail2ban" package

This guide covers the steps necessary to uninstall fail2ban on Debian 11 (Bullseye):

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

3. Information about the fail2ban package on Debian 11 (Bullseye)

Package: fail2ban
Version: 0.11.2-2
Installed-Size: 2092
Maintainer: Debian Python Team
Architecture: all
Depends: python3:any, lsb-base (>= 2.0-7)
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: 2aaeac0c71609eb6bfd4102c0adc7275
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_0.11.2-2_all.deb
Size: 450952
MD5sum: f477cc04e6dee021ef39822dcd27b865
SHA256: a25522032699515f59d4f70cd3dc93cdb2ac36f1c40b449e6773e2111fe38383