How To Install python3-ovsdbapp on Ubuntu 20.04

In this tutorial we learn how to install python3-ovsdbapp on Ubuntu 20.04. python3-ovsdbapp is library for creating OVSDB applications - Python 3.x library for creating OVSDB applications - Python 3.x

Introduction

In this tutorial we learn how to install python3-ovsdbapp on Ubuntu 20.04.

What is python3-ovsdbapp

python3-ovsdbapp is:

The ovdsbapp library is useful for creating applications that communicate via Open vSwitch’s OVSDB protocol (https://tools.ietf.org/html/rfc7047). It wraps the Python ‘ovs’ and adds an event loop and friendly transactions. It features an thread-based event loop for using ovs.db.Idl, transaction support, native OVSDB communication.

This package contains the Python 3.x module.

Package: python3-ovsdbapp Architecture: all Version: 1.1.0-0ubuntu1 Priority: optional Section: python Source: python-ovsdbapp Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: PKG OpenStack [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 411 Depends: python3-fixtures (>= 3.0.0), python3-netaddr (>= 0.7.18), python3-openvswitch (>= 2.8.0), python3-oslo.utils (>= 3.33.0), python3-pbr (>= 2.0.0), python3-six (>= 1.10.0), python3:any Suggests: python-ovsdbapp-doc Filename: pool/main/p/python-ovsdbapp/python3-ovsdbapp_1.1.0-0ubuntu1_all.deb Size: 54540 MD5sum: 556633aed0b045ac89547bf027a2f4f0 SHA1: c60201597faf11fcf4484464f1e0994e1804b7ec SHA256: 7102585fea580324d63fda86f3940275b4813f176cf6ad9bc5f0158aafcbfb57 Homepage: https://github.com/openstack/ovsdbapp Description-en: library for creating OVSDB applications - Python 3.x The ovdsbapp library is useful for creating applications that communicate via Open vSwitch’s OVSDB protocol (https://tools.ietf.org/html/rfc7047). It wraps the Python ‘ovs’ and adds an event loop and friendly transactions. It features an thread-based event loop for using ovs.db.Idl, transaction support, native OVSDB communication.

This package contains the Python 3.x module.

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

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

sudo apt-get update

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

sudo apt-get -y install python3-ovsdbapp

Install python3-ovsdbapp Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-ovsdbapp

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

sudo aptitude -y install python3-ovsdbapp

How To Uninstall python3-ovsdbapp on Ubuntu 20.04

To uninstall only the python3-ovsdbapp package we can use the following command:

sudo apt-get remove python3-ovsdbapp

Uninstall python3-ovsdbapp And Its Dependencies

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

sudo apt-get -y autoremove python3-ovsdbapp

Remove python3-ovsdbapp Configurations and Data

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

sudo apt-get -y purge python3-ovsdbapp

Remove python3-ovsdbapp configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python3-ovsdbapp

References

Summary

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