How to Install and Uninstall fail2ban Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 12,2024

1. Install "fail2ban" package

This is a short guide on how to install fail2ban on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install fail2ban

2. Uninstall "fail2ban" package

Learn how to uninstall fail2ban on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the fail2ban package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: fail2ban
Architecture: all
Version: 0.10.2-2
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Yaroslav Halchenko
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1698
Depends: python3:any (>= 3.3.2-2~), lsb-base (>= 2.0-7)
Recommends: python, iptables | nftables, whois, python3-pyinotify, python3-systemd
Suggests: mailx, system-log-daemon, monit, sqlite3
Filename: pool/universe/f/fail2ban/fail2ban_0.10.2-2_all.deb
Size: 329392
MD5sum: 40ef3a3ca5ee887846a88fe947e0c220
SHA1: 629ea6cff5e20c2686b533bdb1f01d3d6a87bff5
SHA256: f2b301028038a12e3c7e20579d75d2a75cc01ce836a1771f364ebcebb3869b13
Homepage: http://www.fail2ban.org
Description: ban hosts that cause multiple authentication errors
Description-md5: c74c08096e193dbe9225b35110545553