arpalert command not found

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

Introduction

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

arpalert: command not found

or when using sudo you get the following error message

sudo: arpalert: command not found

Solutions to arpalert: command not found

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

In Ubuntu arpalert is provided by arpalert package.

arpalert is:

The arpalert daemon is a security tool that listens on a network interface (without using ‘promiscuous’ mode) and catches all conversations of MAC address to IP request to alert of possibility of ARP spoofing attack.

It compares the mac addresses it detected with a pre-configured list of authorized MAC addresses. If the MAC is not in list, arpalert launches a pre-defined user script with the MAC address and IP address as parameters.

If you need to use a list of authorized MAC addresses, this package should suit your needs, otherwise arpwatch may be also fine.

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

sudo apt-get -y install arpalert

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

You can also use apt command to install arpalert.

sudo apt -y install arpalert

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

sudo aptitude install arpalert

Summary

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