How To Install python-senlin on Debian 9
Introduction
In this tutorial we learn how to install python-senlin
on Debian 9.
What is python-senlin
python-senlin is:
Senlin is a clustering service for OpenStack clouds. It creates and operates clusters of homogeneous objects exposed by other OpenStack services. The goal is to make the orchestration of collections of similar objects easier.
Senlin provides RESTful APIs to users so that they can associate various policies to a cluster. Sample policies include placement policy, load balancing policy, health policy, scaling policy, update policy and so on.
Senlin is designed to be capable of managing different types of objects. An object’s lifecycle is managed using profile type implementations, which are themselves plugins.
This package provides the Python 2.7 library.
There are three methods to install python-senlin
on Debian 9. 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-senlin 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-senlin
using apt-get
by running the following command:
sudo apt-get -y install python-senlin
Install python-senlin Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-senlin
using apt
by running the following command:
sudo apt -y install python-senlin
Install python-senlin 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-senlin
using aptitude
by running the following command:
sudo aptitude -y install python-senlin
How To Uninstall python-senlin on Debian 9
To uninstall only the python-senlin
package we can use the following command:
sudo apt-get remove python-senlin
Uninstall python-senlin And Its Dependencies
To uninstall python-senlin
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove python-senlin
Remove python-senlin Configurations and Data
To remove python-senlin
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge python-senlin
Remove python-senlin configuration, data, and all of its dependencies
We can use the following command to remove python-senlin
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-senlin
Dependencies
python-senlin have the following dependencies:
- python-babel
- python-docker
- python-eventlet
- python-jsonpath-rw
- python-keystonemiddleware
- python-microversion-parse
- python-migrate
- python-openstacksdk
- python-oslo.config
References
Summary
In this tutorial we learn how to install python-senlin
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.