How To Install mason on Debian 9

In this tutorial we learn how to install mason on Debian 9. mason is Interactively creates a Linux packet filtering firewall

Introduction

In this tutorial we learn how to install mason on Debian 9.

What is mason

mason is:

Mason creates a firewall that exactly matches the types of TCP/IP traffic flowing in, out and through a Linux computer. It can be used to create a full firewall or add rules to an existing firewall.

There are three methods to install mason on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install mason Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install mason

Install mason Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install mason

Install mason 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install mason

How To Uninstall mason on Debian 9

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

sudo apt-get remove mason

Uninstall mason And Its Dependencies

To uninstall mason and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove mason

Remove mason Configurations and Data

To remove mason configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge mason

Remove mason configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mason

Dependencies

mason have the following dependencies:

References

Summary

In this tutorial we learn how to install mason package on Debian 9 using different package management tools: apt, apt-get and aptitude.