vde_plug command not found

In this troubleshooting guide we learn how to fix vde_plug command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

vde_plug: command not found

or when using sudo you get the following error message

sudo: vde_plug: command not found

Solutions to vde_plug: command not found

How To Fix vde_plug: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu vde_plug is provided by vdeplug package.

vdeplug 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 some utility tools for VDE including vde_plug.

To fix this problem, we can install more using the command below.

sudo apt-get -y install vdeplug

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install vdeplug.

sudo apt -y install vdeplug

Or if you have aptitude installed you can use the following command.

sudo aptitude install vdeplug

Summary

In this tutorial we learn how to fix vde_plug command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.