Ubuntu Tutorial

How To Install nast on Ubuntu

Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes  • 446 words

Introduction

In this tutorial we learn how to install nast on Ubuntu.

What is nast

nast is:

Can sniff in normal mode or in promiscuous mode the packets on a network interface and log it. It dumps the headers of packets and the payload in ascii or ascii-hex format. You can apply a filter. The sniffed data can be saved in a separated file.

As analyzer tool, it has many features like:

It also provides a ncurses menu.

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

Install nast Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install nast

Install nast Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nast

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

sudo aptitude -y install nast

How To Uninstall nast on Ubuntu

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

sudo apt-get remove nast

Uninstall nast And Its Dependencies

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

sudo apt-get -y autoremove nast

Remove nast Configurations and Data

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

sudo apt-get -y purge nast

Remove nast configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nast

Dependencies

nast have the following dependencies:

References

Summary

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

Follow us

We provides various tutorials about Ubuntu