How To Install lldpad on Ubuntu 20.04
Introduction
In this tutorial we learn how to install lldpad
on Ubuntu 20.04.
What is lldpad
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.
There are three methods to install lldpad
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install lldpad Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install lldpad
using apt-get
by running the following command:
sudo apt-get -y install lldpad
Install lldpad Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install lldpad
using apt
by running the following command:
sudo apt -y install lldpad
Install lldpad Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install lldpad
using aptitude
by running the following command:
sudo aptitude -y install lldpad
How To Uninstall lldpad on Ubuntu 20.04
To uninstall only the lldpad
package we can use the following command:
sudo apt-get remove lldpad
Uninstall lldpad And Its Dependencies
To uninstall lldpad
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove lldpad
Remove lldpad Configurations and Data
To remove lldpad
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge lldpad
Remove lldpad configuration, data, and all of its dependencies
We can use the following command to remove lldpad
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge lldpad
References
Summary
In this tutorial we learn how to install lldpad
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.