How To Install ovn-central on Ubuntu 18.04

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

Introduction

In this tutorial we learn how to install ovn-central on Ubuntu 18.04.

What is ovn-central

ovn-central 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-central provides the userspace daemons, utilities and databases for OVN that is run at a central location.

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

sudo apt-get -y install ovn-central

Install ovn-central Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ovn-central

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

sudo aptitude -y install ovn-central

How To Uninstall ovn-central on Ubuntu 18.04

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

sudo apt-get remove ovn-central

Uninstall ovn-central And Its Dependencies

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

sudo apt-get -y autoremove ovn-central

Remove ovn-central Configurations and Data

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

sudo apt-get -y purge ovn-central

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

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

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

References

Summary

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