arpsnmp command not found

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

Introduction

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

arpsnmp: command not found

or when using sudo you get the following error message

sudo: arpsnmp: command not found

Solutions to arpsnmp: command not found

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

In Ubuntu arpsnmp is provided by arpwatch package.

arpwatch is:

Arpwatch maintains a database of Ethernet MAC addresses seen on the network, with their associated IP pairs. Alerts the system administrator via e-mail if any change happens, such as new station/activity, flip-flops, changed and re-used old addresses.

If you want to maintain a list authorized MAC addresses manually, take a look at the arpalert package which may fit your needs better.

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

sudo apt-get -y install arpwatch

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

You can also use apt command to install arpwatch.

sudo apt -y install arpwatch

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

sudo aptitude install arpwatch

Summary

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