ndptool command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ndptool: command not found
or when using sudo you get the following error message
sudo: ndptool: command not found
Solutions to ndptool: command not found
How To Fix ndptool: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ndptool is provided by libndp-tools package.
libndp-tools is:
libndp is a library for the IPv6 Neighbor Discovery Protocol (NDP). It contains functions for building and parsing NDP messages, and provides a high-level interface for sending and receiving NDP messages on a network interface.
This package contains a tool named ndptool for sending and receiving NDP messages.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libndp-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libndp-tools.
sudo apt -y install libndp-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install libndp-tools
Summary
In this tutorial we learn how to fix ndptool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.