How to Install and Uninstall fail2ban Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 26,2024

1. Install "fail2ban" package

Please follow the guidelines below to install fail2ban on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install fail2ban

2. Uninstall "fail2ban" package

Please follow the instructions below to uninstall fail2ban on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the fail2ban package on Ubuntu 24.04 LTS (Noble Numbat)

Package: fail2ban
Architecture: all
Version: 1.0.2-3
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2075
Depends: python3:any, python3-systemd
Recommends: nftables | iptables, whois, python3-pyinotify
Suggests: mailx, system-log-daemon, monit, sqlite3
Filename: pool/universe/f/fail2ban/fail2ban_1.0.2-3_all.deb
Size: 489820
MD5sum: bf6073461b62d4a425874c493c2d791b
SHA1: 970ebbffd9e5efc878b1b89858de557126ba6875
SHA256: c421521fad6ada11ef04949600a3f41a4d8a02f6451ceee748c5feefb58df3b2
SHA512: 2b436d4c47e190093963151dcbfd7dea57b79b5ed27b46b278a7f1642e438bc38feb4b364b6f51c3bd26f4f9cde6e99068bd9ecde46322f53dce1bbea50df4bf
Homepage: https://www.fail2ban.org
Description: ban hosts that cause multiple authentication errors
Description-md5: 06685647beb252b706838adf56a34b2a