How To Install liblldpctl-dev on Debian 12
Introduction
In this tutorial we learn how to install liblldpctl-dev
on Debian 12.
What is liblldpctl-dev
liblldpctl-dev is:
LLDP is an industry standard protocol designed to supplant proprietary Link-Layer protocols such as Extreme’s EDP (Extreme Discovery Protocol) and CDP (Cisco Discovery Protocol). The goal of LLDP is to provide an inter-vendor compatible mechanism to deliver Link-Layer notifications to adjacent network devices.
This implementation provides LLDP sending and reception, supports VLAN and includes an SNMP subagent that can interface to an SNMP agent through AgentX protocol.
This daemon is also able to deal with CDP, SONMP, FDP and EDP protocol. It also handles LLDP-MED extension.
This package contains development files to develop clients for lldpd.
There are three methods to install liblldpctl-dev
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install liblldpctl-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install liblldpctl-dev
using apt-get
by running the following command:
sudo apt-get -y install liblldpctl-dev
Install liblldpctl-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install liblldpctl-dev
using apt
by running the following command:
sudo apt -y install liblldpctl-dev
Install liblldpctl-dev 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install liblldpctl-dev
using aptitude
by running the following command:
sudo aptitude -y install liblldpctl-dev
How To Uninstall liblldpctl-dev on Debian 12
To uninstall only the liblldpctl-dev
package we can use the following command:
sudo apt-get remove liblldpctl-dev
Uninstall liblldpctl-dev And Its Dependencies
To uninstall liblldpctl-dev
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove liblldpctl-dev
Remove liblldpctl-dev Configurations and Data
To remove liblldpctl-dev
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge liblldpctl-dev
Remove liblldpctl-dev configuration, data, and all of its dependencies
We can use the following command to remove liblldpctl-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge liblldpctl-dev
Dependencies
liblldpctl-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install liblldpctl-dev
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.