ncaptool command not found

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

Introduction

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

ncaptool: command not found

or when using sudo you get the following error message

sudo: ncaptool: command not found

Solutions to ncaptool: command not found

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

In Ubuntu ncaptool is provided by ncaptool package.

ncaptool is:

ncap is a network capture library like libpcap (on which it is based) and tcpdump. It produces binary data in its own ncap format, which can be stored in a dump file or transmitted over a UDP socket. Unlike libpcap, it discards data link headers and only supports IPv4 and IPv6 packets, but it can perform reassembly of IP datagrams.

This package contains the ncaptool command line program.

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

sudo apt-get -y install ncaptool

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

You can also use apt command to install ncaptool.

sudo apt -y install ncaptool

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

sudo aptitude install ncaptool

Summary

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