How To Install python3-sushy on Kali Linux

In this tutorial we learn how to install python3-sushy on Kali Linux. python3-sushy is small library to communicate with Redfish based systems - Python 3.x

Introduction

In this tutorial we learn how to install python3-sushy on Kali Linux.

What is python3-sushy

python3-sushy is:

Sushy is a Python library to communicate with Redfish based systems. The goal of the library is to be extremely simple, small, have as few dependencies as possible and be very conservative when dealing with BMCs by issuing just enough requests to it (BMCs are very flaky).

Therefore, the scope of the library has been limited to what is supported by the OpenStack Ironic project. As the project grows and more features from Redfish are needed Sushy will expand to fulfil those requirements.

This package contains the Python 3.x module.

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

sudo apt-get -y install python3-sushy

Install python3-sushy Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-sushy

Install python3-sushy Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install python3-sushy

How To Uninstall python3-sushy on Kali Linux

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

sudo apt-get remove python3-sushy

Uninstall python3-sushy And Its Dependencies

To uninstall python3-sushy and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove python3-sushy

Remove python3-sushy Configurations and Data

To remove python3-sushy configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge python3-sushy

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

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

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

Dependencies

python3-sushy have the following dependencies:

References

Summary

In this tutorial we learn how to install python3-sushy package on Kali Linux using different package management tools: apt, apt-get and aptitude.