arping command not found

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

Introduction

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

arping: command not found

or when using sudo you get the following error message

sudo: arping: command not found

Solutions to arping: command not found

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

In Ubuntu arping is provided by iputils-arping package.

iputils-arping is:

The arping command acts like the standard ping command except it pings a machine by its ARP address instead of its IP address. It is typically used to locate a machine if its hardware address is known but its IP address is unknown

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

sudo apt-get -y install iputils-arping

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

You can also use apt command to install iputils-arping.

sudo apt -y install iputils-arping

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

sudo aptitude install iputils-arping

Summary

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