How To Install python-tuskarclient on Ubuntu 18.04

In this tutorial we learn how to install python-tuskarclient on Ubuntu 18.04. python-tuskarclient is control how and where OpenStack services are deployed - client

Introduction

In this tutorial we learn how to install python-tuskarclient on Ubuntu 18.04.

What is python-tuskarclient

python-tuskarclient is:

Tuskar gives administrators the ability to control how and where OpenStack services are deployed across the datacenter. Using Tuskar, administrators divide hardware into “resource classes” that allow predictable elastic scaling as cloud demands grow. This resource orchestration allows Tuskar users to ensure SLAs, improve performance, and maximize utilization across the datacenter.

Tuskar services are available via a RESTful API and management console through which administrators are able to classify their hardware and define their datacenters. In addition, Tuskar components provide administrators with performance monitoring, health statistics, and usage metrics, aiding in capacity planning and hardware procurement decisions.

This is a client for the OpenStack Tuskar API. There’s a Python API (the “tuskarclient” module), and a command-line script (“tuskar”).

Installing this package gets you a shell command, that you can use to interact with Tuskar’s API.

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

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

sudo apt-get update

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

sudo apt-get -y install python-tuskarclient

Install python-tuskarclient Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-tuskarclient

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

sudo aptitude -y install python-tuskarclient

How To Uninstall python-tuskarclient on Ubuntu 18.04

To uninstall only the python-tuskarclient package we can use the following command:

sudo apt-get remove python-tuskarclient

Uninstall python-tuskarclient And Its Dependencies

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

sudo apt-get -y autoremove python-tuskarclient

Remove python-tuskarclient Configurations and Data

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

sudo apt-get -y purge python-tuskarclient

Remove python-tuskarclient configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-tuskarclient

References

Summary

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