dhcpd-pools command not found

In this troubleshooting guide we learn how to fix dhcpd-pools command not found error message

Introduction

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

dhcpd-pools: command not found

or when using sudo you get the following error message

sudo: dhcpd-pools: command not found

Solutions to dhcpd-pools: command not found

How To Fix dhcpd-pools: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dhcpd-pools is provided by dhcpd-pools package.

dhcpd-pools is:

This is dhcpd-pools ISC dhcp shared network and pool range usage analysis. Purpose of command is to count usage ratio of each IP range and shared network pool which ISC dhcpd is in control of. Users of the command are most likely ISPs and other organizations that have large IP space.

Program is written C. Design goal is to get analysis done quickly where there is lots of data. On cheap laptop the speed of analysis is roughly 100k leases per second. Number of ranges, or shared networks, does not make any significant difference in getting analysis done.

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

sudo apt-get -y install dhcpd-pools

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

You can also use apt command to install dhcpd-pools.

sudo apt -y install dhcpd-pools

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

sudo aptitude install dhcpd-pools

Summary

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