How To Install python-openstackclient on Debian 10
Introduction
In this tutorial we learn how to install python-openstackclient on Debian 10.
What is python-openstackclient
python-openstackclient is:
python-openstackclient is a unified command-line client for the OpenStack APIs. It is a thin wrapper to the stock python-*client modules that implement the actual REST API client actions.
This is an implementation of the design goals shown in http://wiki.openstack.org/UnifiedCLI. The primary goal is to provide a unified shell command structure and a common language to describe operations in OpenStack.
This package contains the Python 2.7 module.
There are three methods to install python-openstackclient 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-openstackclient 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-openstackclient using apt-get by running the following command:
sudo apt-get -y install python-openstackclient
Install python-openstackclient Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install python-openstackclient using apt by running the following command:
sudo apt -y install python-openstackclient
Install python-openstackclient 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-openstackclient using aptitude by running the following command:
sudo aptitude -y install python-openstackclient
How To Uninstall python-openstackclient on Debian 10
To uninstall only the python-openstackclient package we can use the following command:
sudo apt-get remove python-openstackclient
Uninstall python-openstackclient And Its Dependencies
To uninstall python-openstackclient and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove python-openstackclient
Remove python-openstackclient Configurations and Data
To remove python-openstackclient configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge python-openstackclient
Remove python-openstackclient configuration, data, and all of its dependencies
We can use the following command to remove python-openstackclient configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-openstackclient
Dependencies
python-openstackclient have the following dependencies:
References
Summary
In this tutorial we learn how to install python-openstackclient package on Debian 10 using different package management tools: apt, apt-get and aptitude.