How To Install libvdeplug-dev on Debian 12

Learn how to install libvdeplug-dev on Debian 12 with this tutorial. libvdeplug-dev is Virtual Distributed Ethernet - Plug development files

Introduction

In this tutorial we learn how to install libvdeplug-dev on Debian 12.

What is libvdeplug-dev

libvdeplug-dev is:

VDE provides a versatile support to create Ethernet compliant virtual networks. The vdeplug library, like an ethernet plug, can be used to connect virtual machines, namespaces, IoTh (Internet of Threads) processes or VDE utility commands to virtual networks.

This library uses plug-ins to support several VDE implementations and to be open to new developments in virtual networking.

Several plugins are included as standard extensions of the library, e.g.:

  • vde: connect to legacy vde_switch (provided by vde2) or to virtual networking sockets, see below
  • vxvde: this plug-in implements distributed virtual switches (implementation of a Local Area Cloud)
  • tap: connect to a tuntap interface
  • udp: udp tunnelling
  • ptp: point to point connection
  • vxlan: the plug becomes a vxlan’s VTEP
  • cmd: stream the network flow to a command A plug can provide virtual networking sockets where other plug can be connected (using the vde plugin)
  • hub: the plug implements a hub
  • switch: the plug implements a switch

This package contains the development files for libvdeplug.

There are three methods to install libvdeplug-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 libvdeplug-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 libvdeplug-dev using apt-get by running the following command:

sudo apt-get -y install libvdeplug-dev

Install libvdeplug-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libvdeplug-dev using apt by running the following command:

sudo apt -y install libvdeplug-dev

Install libvdeplug-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 libvdeplug-dev using aptitude by running the following command:

sudo aptitude -y install libvdeplug-dev

How To Uninstall libvdeplug-dev on Debian 12

To uninstall only the libvdeplug-dev package we can use the following command:

sudo apt-get remove libvdeplug-dev

Uninstall libvdeplug-dev And Its Dependencies

To uninstall libvdeplug-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libvdeplug-dev

Remove libvdeplug-dev Configurations and Data

To remove libvdeplug-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libvdeplug-dev

Remove libvdeplug-dev configuration, data, and all of its dependencies

We can use the following command to remove libvdeplug-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libvdeplug-dev

Dependencies

libvdeplug-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libvdeplug-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.