dhcpig command not found

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

Introduction

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

dhcpig: command not found

or when using sudo you get the following error message

sudo: dhcpig: command not found

Solutions to dhcpig: command not found

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

In Ubuntu dhcpig is provided by dhcpig package.

dhcpig is:

DHCPig initiates an advanced DHCP exhaustion attack. It will consume all IPs on the LAN, stop new users from obtaining IPs, release any IPs in use, then for good measure send gratuitous ARP and knock all windows hosts offline.

It is based on the scapy library and requests admin privileges to execute. It has been tested on multiple Linux distributions and multiple DHCP servers (ISC, Windows 2k3/2k8,..).

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

sudo apt-get -y install dhcpig

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

You can also use apt command to install dhcpig.

sudo apt -y install dhcpig

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

sudo aptitude install dhcpig

Summary

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