How To Install python-stomper on Debian 9

In this tutorial we learn how to install python-stomper on Debian 9. python-stomper is Python client implementation of the STOMP protocol

Introduction

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

What is python-stomper

python-stomper is:

The client is attempting to be transport layer neutral. This module provides functions to create and parse STOMP messages in a programmatic fashion. The messages can be easily generated and parsed, however its up to the user to do the sending and receiving.

The Streaming Text Oriented Messaging Protocol is a text-based protocol vaguely similar to HTTP, intended for message oriented middleware. Its protocol specification can be found at http://stomp.github.io/

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

sudo apt-get -y install python-stomper

Install python-stomper Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-stomper

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

sudo aptitude -y install python-stomper

How To Uninstall python-stomper on Debian 9

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

sudo apt-get remove python-stomper

Uninstall python-stomper And Its Dependencies

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

sudo apt-get -y autoremove python-stomper

Remove python-stomper Configurations and Data

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

sudo apt-get -y purge python-stomper

Remove python-stomper configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-stomper

Dependencies

python-stomper have the following dependencies:

References

Summary

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