dhcrelay command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dhcrelay: command not found
or when using sudo you get the following error message
sudo: dhcrelay: command not found
Solutions to dhcrelay: command not found
How To Fix dhcrelay: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dhcrelay is provided by isc-dhcp-relay package.
isc-dhcp-relay is:
This is the Internet Software Consortium’s DHCP relay.
Installing this package will make the machine a DHCP relay, which requires a reachable DHCP or BOOTP server in order to function.
Extra documentation can be found in the package isc-dhcp-common.
To fix this problem, we can install more using the command below.
sudo apt-get -y install isc-dhcp-relay
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install isc-dhcp-relay.
sudo apt -y install isc-dhcp-relay
Or if you have aptitude installed you can use the following command.
sudo aptitude install isc-dhcp-relay
Summary
In this tutorial we learn how to fix dhcrelay command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.