How To Install python-cs on Debian 10

Learn how to install python-cs on Debian 10 with this tutorial. python-cs is simple, yet powerful CloudStack API client (Python module)

Introduction

In this tutorial we learn how to install python-cs on Debian 10.

What is python-cs

python-cs is:

This module is a simple, yet powerful Apache CloudStack API client for Python. It is a thin wrapper on top of the CloudStack API and hence it is able to adapt to any future version.

Apache CloudStack is open source software designed to deploy and manage large networks of virtual machines.

This package contains the Python 2 module.

There are three methods to install python-cs on Debian 10. 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-cs 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-cs using apt-get by running the following command:

sudo apt-get -y install python-cs

Install python-cs Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-cs

Install python-cs 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install python-cs

How To Uninstall python-cs on Debian 10

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

sudo apt-get remove python-cs

Uninstall python-cs And Its Dependencies

To uninstall python-cs and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove python-cs

Remove python-cs Configurations and Data

To remove python-cs configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge python-cs

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

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

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

Dependencies

python-cs have the following dependencies:

References

Summary

In this tutorial we learn how to install python-cs package on Debian 10 using different package management tools: apt, apt-get and aptitude.