How To Install openvswitch-source on Ubuntu 20.04

In this tutorial we learn how to install openvswitch-source on Ubuntu 20.04. openvswitch-source is Open vSwitch source code Open vSwitch source code Open vSwitch source code

Introduction

In this tutorial we learn how to install openvswitch-source on Ubuntu 20.04.

What is openvswitch-source

openvswitch-source is:

Open vSwitch is a production quality, multilayer, software-based, Ethernet virtual switch. It is designed to enable massive network automation through programmatic extension, while still supporting standard management interfaces and protocols (e.g. NetFlow, IPFIX, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed to support distribution across multiple physical servers similar to VMware’s vNetwork distributed vswitch or Cisco’s Nexus 1000V.

This package contains the full Open vSwitch source code to support use with the Open Virtual Network (OVN) build.

Package: openvswitch-source Architecture: all Version: 2.13.1-0ubuntu0.20.04.4 Priority: optional Section: universe/net Source: openvswitch Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Open vSwitch developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 7173 Filename: pool/universe/o/openvswitch/openvswitch-source_2.13.1-0ubuntu0.20.04.4_all.deb Size: 7186188 MD5sum: 73b74419a65e3b90cd5f83eefa6c072d SHA1: 5945a7205b8dd1fd243e4165be081ae84f2da588 SHA256: ddf8dee2abedebf524459b2c63f80720ae12e28bfc3e9041b1ecc32e41f1c3d8 SHA512: 496466774aa04e609b59d091332c89fc8a47decdee3708dbc91798cff3c7b07734e7db9477420dcb494d1619f7cd588e9cf097f278df959498287adf956eede0 Homepage: http://openvswitch.org/ Description-en: Open vSwitch source code Open vSwitch is a production quality, multilayer, software-based, Ethernet virtual switch. It is designed to enable massive network automation through programmatic extension, while still supporting standard management interfaces and protocols (e.g. NetFlow, IPFIX, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed to support distribution across multiple physical servers similar to VMware’s vNetwork distributed vswitch or Cisco’s Nexus 1000V.

This package contains the full Open vSwitch source code to support use with the Open Virtual Network (OVN) build.

Package: openvswitch-source Architecture: all Version: 2.13.0-0ubuntu1 Priority: optional Section: universe/net Source: openvswitch Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Open vSwitch developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 7097 Filename: pool/universe/o/openvswitch/openvswitch-source_2.13.0-0ubuntu1_all.deb Size: 7140384 MD5sum: 84b6ecaebd7d6eddbb17f32e4ea8bf6d SHA1: 82349d55cba286a255da0c995678da7e6be8fdc5 SHA256: 580c4e2e3aacccc387f4926577e07126a8259d00b8c2a00f31b4ae4d106162a7 Homepage: http://openvswitch.org/ Description-en: Open vSwitch source code Open vSwitch is a production quality, multilayer, software-based, Ethernet virtual switch. It is designed to enable massive network automation through programmatic extension, while still supporting standard management interfaces and protocols (e.g. NetFlow, IPFIX, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed to support distribution across multiple physical servers similar to VMware’s vNetwork distributed vswitch or Cisco’s Nexus 1000V.

This package contains the full Open vSwitch source code to support use with the Open Virtual Network (OVN) build.

There are three methods to install openvswitch-source 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 openvswitch-source Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install openvswitch-source using apt-get by running the following command:

sudo apt-get -y install openvswitch-source

Install openvswitch-source Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install openvswitch-source

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

sudo aptitude -y install openvswitch-source

How To Uninstall openvswitch-source on Ubuntu 20.04

To uninstall only the openvswitch-source package we can use the following command:

sudo apt-get remove openvswitch-source

Uninstall openvswitch-source And Its Dependencies

To uninstall openvswitch-source and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove openvswitch-source

Remove openvswitch-source Configurations and Data

To remove openvswitch-source configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge openvswitch-source

Remove openvswitch-source configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge openvswitch-source

References

Summary

In this tutorial we learn how to install openvswitch-source package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.