How To Install ovn-central on Ubuntu 20.04

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

Introduction

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

Package: ovn-central 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: 2914 Depends: lsb-base, lsb-release, openvswitch-common (>= 2.13.0~git20200212.15ae9db33-0ubuntu1~), ovn-common (= 20.03.0-0ubuntu1), libc6 (>= 2.29), libcap-ng0 (>= 0.7.9), libssl1.1 (>= 1.1.0), libunbound8 (>= 1.8.0) Filename: pool/main/o/ovn/ovn-central_20.03.0-0ubuntu1_amd64.deb Size: 833412 MD5sum: 9698e46c10b564537f957f093cfc05ee SHA1: c4f14690c75fbb5a4b59d043d21212dda92ef6c1 SHA256: a515a1dfd8f7027c19af0a3ab82ce120e3b35008abaf50b0d1ec58ff468dde1f Homepage: https://github.com/ovn-org/ovn Description-en: OVN central 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-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 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-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 20.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 20.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 20.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 20.04 using different package management tools: apt, apt-get and aptitude.