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

Last updated: May 06,2024

1. Install "ufw" package

Please follow the instructions below to install ufw on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install ufw

2. Uninstall "ufw" package

In this section, we are going to explain the necessary steps to uninstall ufw on Debian 12 (Bookworm):

$ sudo apt remove ufw $ sudo apt autoclean && sudo apt autoremove

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

Package: ufw
Version: 0.36.2-1
Installed-Size: 857
Maintainer: Jamie Strandboge
Architecture: all
Depends: iptables, ucf, python3:any, debconf (>= 0.5) | debconf-2.0
Suggests: rsyslog
Breaks: iptables-persistent, netfilter-persistent
Description: program for managing a Netfilter firewall
Description-md5: 90e09f8ba6c08a5698b47f5da441b4a7
Homepage: https://launchpad.net/ufw
Tag: admin::configuring, implemented-in::python, interface::commandline,
network::firewall, role::program, scope::utility, security::firewall
Section: admin
Priority: optional
Filename: pool/main/u/ufw/ufw_0.36.2-1_all.deb
Size: 167940
MD5sum: 94fc6321a84b611c669703a875c5b760
SHA256: 8c49b7e010b046717eb9a910d14ba2185bc1342be7a2201dd63bfb536676426c