How To Install python3-neutron on Ubuntu 20.04

In this tutorial we learn how to install python3-neutron on Ubuntu 20.04. python3-neutron is Neutron is a virtual network service for Openstack - Python library Neutron is a virtual network service for Openstack - Python library

Introduction

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

What is python3-neutron

python3-neutron is:

Neutron is a virtual network service for Openstack, and a part of Netstack. Just like OpenStack Nova provides an API to dynamically request and configure virtual servers, Neutron provides an API to dynamically request and configure virtual networks. These networks connect “interfaces” from other OpenStack services (e.g., virtual NICs from Nova VMs). The Neutron API supports extensions to provide advanced network capabilities (e.g., QoS, ACLs, network monitoring, etc.)

This package provides the Python 3.x library.

Package: python3-neutron Architecture: all Version: 2:16.0.0~b3~git2020041516.5f42488a9a-0ubuntu2 Priority: optional Section: python Source: neutron Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Chuck Short [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 15745 Depends: iproute2, neutron-common (= 2:16.0.0~b3~git2020041516.5f42488a9a-0ubuntu2), python3-alembic (>= 0.8.10), python3-debtcollector (>= 1.19.0), python3-decorator (>= 3.4.0), python3-designateclient (>= 2.7.0), python3-eventlet (>= 0.18.2), python3-futurist (>= 1.2.0), python3-httplib2 (>= 0.9.1), python3-jinja2 (>= 2.10), python3-keystoneauth1 (>= 3.14.0), python3-keystonemiddleware (>= 4.17.0), python3-netaddr (>= 0.7.18), python3-netifaces (>= 0.10.4), python3-neutron-lib (>= 2.2.0), python3-neutronclient (>= 1:6.7.0), python3-novaclient (>= 2:9.1.0), python3-openstacksdk (>= 0.31.2), python3-openvswitch (>= 2.8.0), python3-os-ken (>= 0.3.0), python3-os-vif (>= 1.15.1), python3-os-xenapi (>= 0.3.1), python3-oslo.cache (>= 1.26.0), python3-oslo.concurrency (>= 3.26.0), python3-oslo.config (>= 1:5.2.0), python3-oslo.context (>= 1:2.19.2), python3-oslo.db (>= 4.37.0), python3-oslo.i18n (>= 3.15.3), python3-oslo.log (>= 3.36.0), python3-oslo.messaging (>= 5.29.0), python3-oslo.middleware (>= 3.31.0), python3-oslo.policy (>= 1.30.0), python3-oslo.privsep (>= 1.32.0), python3-oslo.reports (>= 1.18.0), python3-oslo.rootwrap (>= 5.8.0), python3-oslo.serialization (>= 2.18.0), python3-oslo.service (>= 1.24.0), python3-oslo.upgradecheck (>= 0.1.0), python3-oslo.utils (>= 3.33.0), python3-oslo.versionedobjects (>= 1.35.1), python3-osprofiler (>= 2.3.0), python3-ovsdbapp (>= 1.0.0), python3-paste (>= 2.0.2), python3-pastedeploy (>= 1.5.0), python3-pbr (>= 4.0.0), python3-pecan (>= 1.3.2), python3-psutil (>= 3.2.2), python3-pymysql, python3-pyroute2 (>= 0.5.7), python3-requests (>= 2.14.2), python3-routes (>= 2.3.1), python3-six (>= 1.10.0), python3-sqlalchemy (>= 1.2.0), python3-stevedore (>= 1:1.20.0), python3-tenacity (>= 4.4.0), python3-tooz (>= 1.58.0), python3-webob (>= 1:1.8.2), python3-openssl, python3:any Filename: pool/main/n/neutron/python3-neutron_16.0.0~b3~git2020041516.5f42488a9a-0ubuntu2_all.deb Size: 1780688 MD5sum: 3c46acef1f04664c94f6caf0ac381be6 SHA1: 47706d597af9ed78e736b19622a29c6b2c3b604d SHA256: 454edfb9117f96574c99b8f4a431a3d70c4e98f38b32fb893048ef88c2846f48 Homepage: https://docs.openstack.org/neutron Description-en: Neutron is a virtual network service for Openstack - Python library Neutron is a virtual network service for Openstack, and a part of Netstack. Just like OpenStack Nova provides an API to dynamically request and configure virtual servers, Neutron provides an API to dynamically request and configure virtual networks. These networks connect “interfaces” from other OpenStack services (e.g., virtual NICs from Nova VMs). The Neutron API supports extensions to provide advanced network capabilities (e.g., QoS, ACLs, network monitoring, etc.)

This package provides the Python 3.x library.

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

sudo apt-get -y install python3-neutron

Install python3-neutron Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-neutron

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

sudo aptitude -y install python3-neutron

How To Uninstall python3-neutron on Ubuntu 20.04

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

sudo apt-get remove python3-neutron

Uninstall python3-neutron And Its Dependencies

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

sudo apt-get -y autoremove python3-neutron

Remove python3-neutron Configurations and Data

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

sudo apt-get -y purge python3-neutron

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

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

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

References

Summary

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