dumpleases command not found

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

Introduction

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

dumpleases: command not found

or when using sudo you get the following error message

sudo: dumpleases: command not found

Solutions to dumpleases: command not found

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

In Ubuntu dumpleases is provided by udhcpd package.

udhcpd is:

Busybox contains a very small yet fully function RFC compliant DHCP server formerly known as udhcpd.

This package contains the glue to use the busybox udhcpd as DHCP server in the system by providing the appropriate symbolic links and scripts.

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

sudo apt-get -y install udhcpd

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

You can also use apt command to install udhcpd.

sudo apt -y install udhcpd

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

sudo aptitude install udhcpd

Summary

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