How to Install and Uninstall fail2ban Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 24,2024

1. Install "fail2ban" package

Please follow the guidance below to install fail2ban on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install fail2ban

2. Uninstall "fail2ban" package

Please follow the guidelines below to uninstall fail2ban on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the fail2ban package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: fail2ban
Architecture: all
Version: 0.11.2-6
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2049
Depends: python3:any, lsb-base
Recommends: nftables | iptables, whois, python3-pyinotify, python3-systemd
Suggests: mailx, system-log-daemon, monit, sqlite3
Filename: pool/universe/f/fail2ban/fail2ban_0.11.2-6_all.deb
Size: 394448
MD5sum: f038645620097a3d136fc313d4062a1a
SHA1: be474d4c5f8c019b1de2f1681be350050f4814b9
SHA256: 10d53979be0c5980654d5d030d4861173cf1e5a41e7028f15ef43f5b79739061
SHA512: 7ee9f796d88cf0ff11f2c625a47f822278ace6ff481295f811cfd7fd60afc0567666f24a32442306ffc33d45bf2ad897d1b9836899e659b41eeaedd8af14eb54
Homepage: https://www.fail2ban.org
Description: ban hosts that cause multiple authentication errors
Description-md5: 06685647beb252b706838adf56a34b2a