How To Install ovn-common on Ubuntu 18.04

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

Introduction

In this tutorial we learn how to install ovn-common on Ubuntu 18.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.

There are three methods to install ovn-common on Ubuntu 18.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 18.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 18.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 18.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 18.04 using different package management tools: apt, apt-get and aptitude.