How To Install ovn-common on Ubuntu 20.04

In this tutorial we learn how to install ovn-common on Ubuntu 20.04. ovn-common is OVN common components OVN common components

Introduction

In this tutorial we learn how to install ovn-common on Ubuntu 20.04.

What is ovn-common

ovn-common is:

OVN, the Open Virtual Network, is a system to support virtual network abstraction. OVN complements the existing capabilities of OVS to add native support for virtual network abstractions, such as virtual L2 and L3 overlays and security groups.

ovn-common provides components required by other OVN packages.

Package: ovn-common Architecture: amd64 Version: 20.03.0-0ubuntu1 Priority: extra Section: net Source: ovn Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Open vSwitch developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 7952 Depends: python3:any, libc6 (>= 2.29), libcap-ng0 (>= 0.7.9), libssl1.1 (>= 1.1.0), libunbound8 (>= 1.8.0) Filename: pool/main/o/ovn/ovn-common_20.03.0-0ubuntu1_amd64.deb Size: 1431584 MD5sum: c4bd9639ee32b15b84022bf31fd9abc2 SHA1: 460a51a8ed62623897e0e6f1ef40f06e73629d9e SHA256: d7a5869e17d261717e3c24e238ec25f1bec144d0eb37116b6317764e79f6a84a Homepage: https://github.com/ovn-org/ovn Description-en: OVN common components OVN, the Open Virtual Network, is a system to support virtual network abstraction. OVN complements the existing capabilities of OVS to add native support for virtual network abstractions, such as virtual L2 and L3 overlays and security groups.

ovn-common provides components required by other OVN packages.

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

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

sudo apt-get update

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

sudo apt-get -y install ovn-common

Install ovn-common Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ovn-common

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

sudo aptitude -y install ovn-common

How To Uninstall ovn-common on Ubuntu 20.04

To uninstall only the ovn-common package we can use the following command:

sudo apt-get remove ovn-common

Uninstall ovn-common And Its Dependencies

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

sudo apt-get -y autoremove ovn-common

Remove ovn-common Configurations and Data

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

sudo apt-get -y purge ovn-common

Remove ovn-common configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ovn-common

References

Summary

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