lldptool command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
lldptool: command not found
or when using sudo you get the following error message
sudo: lldptool: command not found
Solutions to lldptool: command not found
How To Fix lldptool: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu lldptool is provided by lldpad package.
lldpad is:
The lldpad package is an implementation of the Link Layer Discovery Protocol (LLDP). It originated from Intel’s Data Center Bridging (DCB) software - the dcbd package. The lldpad package adds LLDP support for all ports in addition to DCB Exchange protocol (DCBX) support on DCB capable ports (as was provided by dcbd). Also, support for additional LLDP TLVs has been added.
DCB is a collection of emerging standards-based technologies designed to allow Ethernet to support multiple types of traffic classes in the Data Center. The DCBX functionality of this package is designed to work with the DCB kernel interface (dcbnl in rtnetlink) that is included in the Linux kernel 2.6.29 or higher. The Intel ixgbe driver supports the dcbnl interface.
This package contains lldpad runtime binaries.
To fix this problem, we can install more using the command below.
sudo apt-get -y install lldpad
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lldpad.
sudo apt -y install lldpad
Or if you have aptitude installed you can use the following command.
sudo aptitude install lldpad
Summary
In this tutorial we learn how to fix lldptool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.