netdiscover command not found

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

Introduction

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

netdiscover: command not found

or when using sudo you get the following error message

sudo: netdiscover: command not found

Solutions to netdiscover: command not found

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

In Ubuntu netdiscover is provided by netdiscover package.

netdiscover is:

Netdiscover is an active/passive address reconnaissance tool, mainly developed for those wireless networks without dhcp server, when you are wardriving. It can be also used on hub/switched networks.

Built on top of libnet and libpcap, it can passively detect online hosts, or search for them, by actively sending ARP requests.

Netdiscover can also be used to inspect your network ARP traffic, or find network addresses using auto scan mode, which will scan for common local networks.

Netdiscover uses the OUI table to show the vendor of the each MAC address discovered and is very useful for security checks or in pentests.

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

sudo apt-get -y install netdiscover

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

You can also use apt command to install netdiscover.

sudo apt -y install netdiscover

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

sudo aptitude install netdiscover

Summary

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