Ways to Uninstall and Install firewall-applet on Ubuntu 22.04

Updated: September 19, 2022

firewalld is a dynamically managed firewall daemon with support for network/firewall zones to define the trust level of network connections or interfaces. It has support for IPv4, IPv6 firewall settings and for ethernet bridges and has a separation of runtime and persistent configuration options. It also provides a D-Bus interface for services or applications to add and apply firewall rules on-the-fly. In this guide, I will show you how to install firewall-applet on Ubuntu 22.04.

Prerequisites

  • OS: Ubuntu 22.04 is needed for firewall-applet to work
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install firewall-applet on Ubuntu 22.04

Install firewall-applet Ubuntu 22.04

firewall-applet is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install firewall-applet using APT

This is a popular method for installing any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get firewall-applet on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install firewall-applet Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt install firewall-applet

Install firewall-applet using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

After that, you can now install firewall-applet, just following these steps:

Step 1: Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install firewall-applet Ubuntu by executing this command in the terminal.

sudo aptitude -y install firewall-applet

Uninstall firewall-applet on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a firewall-applet.

You can uninstall firewall-applet on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove firewall-applet

If you want to uninstall firewall-applet and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge firewall-applet

Ending

In this tutorial, I showed you ways to install firewall-applet on Ubuntu 22.04 and ways to uninstall firewall-applet too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.