perfdhcp command not found

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

Introduction

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

perfdhcp: command not found

or when using sudo you get the following error message

sudo: perfdhcp: command not found

Solutions to perfdhcp: command not found

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

In Ubuntu perfdhcp is provided by kea-admin package.

kea-admin is:

Kea is an IPv4 and IPv6 DHCP server developed by Internet Systems Consortium.

This package provides backend database initialization and migration scripts and a DHCP benchmark tool.

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

sudo apt-get -y install kea-admin

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

You can also use apt command to install kea-admin.

sudo apt -y install kea-admin

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

sudo aptitude install kea-admin

Summary

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