How To Install python3-watcher on Ubuntu 20.04

In this tutorial we learn how to install python3-watcher on Ubuntu 20.04. python3-watcher is OpenStack Cloud Optimization as a Service - Python 3 libraries OpenStack Cloud Optimization as a Service - Python 3 libraries

Introduction

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

What is python3-watcher

python3-watcher is:

OpenStack Watcher provides a flexible and scalable resource optimization service for multi-tenant OpenStack-based clouds. Watcher provides a complete optimization loop-including everything from a metrics receiver, complex event processor and profiler, optimization processor and an action plan applier. This provides a robust framework to realize a wide range of cloud optimization goals, including the reduction of data center operating costs, increased system performance via intelligent virtual machine migration, increased energy efficiency-and more!

This package contains the Python 3 libraries that are part of Watcher.

Package: python3-watcher Architecture: all Version: 1:4.0.0~b3~git2020041014.f3c427bd-0ubuntu1 Priority: optional Section: universe/python Source: watcher Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenStack [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 3262 Depends: python3-apscheduler (>= 3.5.1), python3-ceilometerclient (>= 2.9.0), python3-cinderclient (>= 1:3.5.0), python3-croniter (>= 0.3.20), python3-futurist (>= 1.8.0), python3-glanceclient (>= 1:2.9.1), python3-gnocchiclient (>= 7.0.1), python3-ironicclient (>= 2.5.0), python3-jsonpatch (>= 1.21), python3-jsonschema (>= 2.6.0), python3-keystoneauth1 (>= 3.4.0), python3-keystoneclient (>= 1:3.15.0), python3-keystonemiddleware (>= 4.21.0), python3-lxml (>= 4.1.1), python3-microversion-parse (>= 0.2.1), python3-monascaclient (>= 1.12.0), python3-networkx (>= 2.2), python3-neutronclient (>= 1:6.7.0), python3-novaclient (>= 2:14.1.0), python3-openstackclient (>= 3.14.0), python3-os-resource-classes (>= 0.4.0), python3-oslo.cache (>= 1.29.0), python3-oslo.concurrency (>= 3.26.0), python3-oslo.config (>= 1:5.2.0), python3-oslo.context (>= 1:2.21.0), python3-oslo.db (>= 4.35.0), python3-oslo.i18n (>= 3.20.0), python3-oslo.log (>= 3.37.0), python3-oslo.messaging (>= 8.1.2), python3-oslo.policy (>= 1.34.0), python3-oslo.reports (>= 1.27.0), python3-oslo.serialization (>= 2.25.0), python3-oslo.service (>= 1.30.0), python3-oslo.upgradecheck (>= 0.1.0), python3-oslo.utils (>= 3.36.0), python3-oslo.versionedobjects (>= 1.32.0), python3-pastedeploy (>= 1.5.2), python3-pbr (>= 3.1.1), python3-pecan (>= 1.3.2), python3-prettytable (>= 0.7.2), python3-six (>= 1.11.0), python3-sqlalchemy (>= 1.2.5), python3-stevedore (>= 1:1.28.0), python3-taskflow (>= 3.7.1), python3-voluptuous, python3-webob (>= 1:1.8.5), python3-wsme (>= 0.9.2), python3:any Filename: pool/universe/w/watcher/python3-watcher_4.0.0~b3~git2020041014.f3c427bd-0ubuntu1_all.deb Size: 313380 MD5sum: c2c5ca49ec9b33c1fe3e60466f317c36 SHA1: f867afd7664c3a74ff5131e60c706e0127f7050a SHA256: c4c937baee06016a7a1d790311ec408136d4a3e08e58724e76873642647aa5a0 Homepage: https://github.com/openstack/watcher Description-en: OpenStack Cloud Optimization as a Service - Python 3 libraries OpenStack Watcher provides a flexible and scalable resource optimization service for multi-tenant OpenStack-based clouds. Watcher provides a complete optimization loop-including everything from a metrics receiver, complex event processor and profiler, optimization processor and an action plan applier. This provides a robust framework to realize a wide range of cloud optimization goals, including the reduction of data center operating costs, increased system performance via intelligent virtual machine migration, increased energy efficiency-and more!

This package contains the Python 3 libraries that are part of Watcher.

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

sudo apt-get -y install python3-watcher

Install python3-watcher Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-watcher

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

sudo aptitude -y install python3-watcher

How To Uninstall python3-watcher on Ubuntu 20.04

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

sudo apt-get remove python3-watcher

Uninstall python3-watcher And Its Dependencies

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

sudo apt-get -y autoremove python3-watcher

Remove python3-watcher Configurations and Data

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

sudo apt-get -y purge python3-watcher

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

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

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

References

Summary

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