How To Install python3-ospurge on Kali Linux

In this tutorial we learn how to install python3-ospurge on Kali Linux. python3-ospurge is client-side tool to delete all resources of an OpenStack project

Introduction

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

What is python3-ospurge

python3-ospurge is:

OSPurge is a standalone client-side tool that aims at deleting all resources, taking into account their interdependencies, in a specified OpenStack project.

OSPurge ensures in a quick and automated way that no resource is left behind when a project is deleted.

OSPurge can be used by a cloud administrator, this means a user with the admin role, to cleanup any project or by a non-privileged user to cleanup his own project.

At the moment it is possible to purge the following resources from a project:

  • Floating IP
  • Glance Images
  • Instances
  • Networks
  • Routers
  • Security groups
  • Swift containers
  • Swift objects
  • Volumes / Volume snapshots / Volume backups

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

sudo apt-get -y install python3-ospurge

Install python3-ospurge Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-ospurge

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

sudo aptitude -y install python3-ospurge

How To Uninstall python3-ospurge on Kali Linux

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

sudo apt-get remove python3-ospurge

Uninstall python3-ospurge And Its Dependencies

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

sudo apt-get -y autoremove python3-ospurge

Remove python3-ospurge Configurations and Data

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

sudo apt-get -y purge python3-ospurge

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

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

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

Dependencies

python3-ospurge have the following dependencies:

References

Summary

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