How To Install gufw on Ubuntu 20.04

In this tutorial we learn how to install gufw on Ubuntu 20.04. gufw is graphical user interface for ufw graphical user interface for ufw

Introduction

In this tutorial we learn how to install gufw on Ubuntu 20.04.

What is gufw

gufw is:

gufw is an easy and intuitive way to manage your Linux firewall. It supports common tasks such as allowing or blocking pre-configured, common p2p, or individual port(s), and many others! Task: ubuntu-mate-desktop

Package: gufw Architecture: all Version: 20.04.1-1 Priority: optional Section: universe/admin Source: gui-ufw Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Python Applications Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 3455 Depends: gir1.2-gtk-3.0, gir1.2-webkit2-4.0, policykit-1, python3-gi, ufw (>= 0.34~rc), python3:any Filename: pool/universe/g/gui-ufw/gufw_20.04.1-1_all.deb Size: 860368 MD5sum: 82c630052610a1b8e3837a93e4a1cf17 SHA1: 0ef531692f1d7b28fc072be71941e1c0fd192c8a SHA256: c84112c8929ddac36e93ed86ca652c96ce438188dcd2a66658ddd0fc7fd48383 Homepage: https://costales.github.io/projects/gufw/ Description-en: graphical user interface for ufw gufw is an easy and intuitive way to manage your Linux firewall. It supports common tasks such as allowing or blocking pre-configured, common p2p, or individual port(s), and many others! Task: ubuntu-mate-desktop

There are three methods to install gufw 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 gufw Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install gufw using apt-get by running the following command:

sudo apt-get -y install gufw

Install gufw Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gufw using apt by running the following command:

sudo apt -y install gufw

Install gufw 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 gufw using aptitude by running the following command:

sudo aptitude -y install gufw

How To Uninstall gufw on Ubuntu 20.04

To uninstall only the gufw package we can use the following command:

sudo apt-get remove gufw

Uninstall gufw And Its Dependencies

To uninstall gufw and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove gufw

Remove gufw Configurations and Data

To remove gufw configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge gufw

Remove gufw configuration, data, and all of its dependencies

We can use the following command to remove gufw configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gufw

References

Summary

In this tutorial we learn how to install gufw package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.