How To Install python-storm-dbg on Debian 9

In this tutorial we learn how to install python-storm-dbg on Debian 9. python-storm-dbg is object-relational mapper (ORM) for Python - debugging files

Introduction

In this tutorial we learn how to install python-storm-dbg on Debian 9.

What is python-storm-dbg

python-storm-dbg is:

Storm is an object-relation mapper (ORM) for the Python language. In simple terms, that kind of system allows rows from a relational database to be seen as objects in an object-oriented language like Python.

Features:

  • Clean and lightweight API offers a short learning curve and long- erm maintainability.
  • Storm is developed in a test-driven manner. An untested line of code is considered a bug.
  • Storm needs no special class constructors, nor imperative base classes.
  • Storm is well designed (different classes have very clear boundaries, with small and clean public APIs).
  • Designed from day one to work both with thin relational databases, such as SQLite, and big iron systems like PostgreSQL and MySQL.
  • Storm is easy to debug, since its code is written with a KISS principle, and thus is easy to understand.
  • Designed from day one to work both at the low end, with trivial small databases, and the high end, with applications accessing billion row tables and committing to multiple database backends.
  • It’s very easy to write and support backends for Storm (current backends have around 100 lines of code).

This package contains the extension built for the Python debug interpreter.

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

sudo apt-get -y install python-storm-dbg

Install python-storm-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-storm-dbg

Install python-storm-dbg 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-storm-dbg using aptitude by running the following command:

sudo aptitude -y install python-storm-dbg

How To Uninstall python-storm-dbg on Debian 9

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

sudo apt-get remove python-storm-dbg

Uninstall python-storm-dbg And Its Dependencies

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

sudo apt-get -y autoremove python-storm-dbg

Remove python-storm-dbg Configurations and Data

To remove python-storm-dbg configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge python-storm-dbg

Remove python-storm-dbg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-storm-dbg

Dependencies

python-storm-dbg have the following dependencies:

References

Summary

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