nast command not found

In this troubleshooting guide we learn how to fix nast command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nast: command not found

or when using sudo you get the following error message

sudo: nast: command not found

Solutions to nast: command not found

How To Fix nast: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nast is provided by nast package.

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:

  • Build LAN hosts list
  • Follow a TCP-DATA stream
  • Find LAN internet gateways
  • Discover promiscuous nodes
  • Reset an established connection
  • Perform a single half-open portscanner
  • Perform a multi half-open portscanner
  • Find link type (hub or switch)
  • Catch daemon banner of LAN nodes
  • Control arp answers to discover possible arp-spoofings
  • Byte counting with an optional filter
  • Write reports logging

It also provides a ncurses menu.

To fix this problem, we can install more using the command below.

sudo apt-get -y install nast

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install nast.

sudo apt -y install nast

Or if you have aptitude installed you can use the following command.

sudo aptitude install nast

Summary

In this tutorial we learn how to fix nast command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.