How To Install fwbuilder on Ubuntu 20.04
Introduction
In this tutorial we learn how to install fwbuilder on Ubuntu 20.04.
What is fwbuilder
fwbuilder is:
Firewall Builder consists of an object-oriented GUI and a set of policy compilers for various firewall platforms. In Firewall Builder, firewall policy is a set of rules, each rule consists of abstract objects which represent real network objects and services (hosts, routers, firewalls, networks, protocols). Firewall Builder helps the user maintain a database of objects and allows policy editing using simple drag-and-drop operations.
This is the GUI part of fwbuilder
There are three methods to install fwbuilder on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install fwbuilder Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install fwbuilder using apt-get by running the following command:
sudo apt-get -y install fwbuilder
Install fwbuilder Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install fwbuilder using apt by running the following command:
sudo apt -y install fwbuilder
Install fwbuilder Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install fwbuilder using aptitude by running the following command:
sudo aptitude -y install fwbuilder
How To Uninstall fwbuilder on Ubuntu 20.04
To uninstall only the fwbuilder package we can use the following command:
sudo apt-get remove fwbuilder
Uninstall fwbuilder And Its Dependencies
To uninstall fwbuilder and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove fwbuilder
Remove fwbuilder Configurations and Data
To remove fwbuilder configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge fwbuilder
Remove fwbuilder configuration, data, and all of its dependencies
We can use the following command to remove fwbuilder configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fwbuilder
References
Summary
In this tutorial we learn how to install fwbuilder package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.