stomp command not found

In this troubleshooting guide we learn how to fix stomp command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

stomp: command not found

or when using sudo you get the following error message

sudo: stomp: command not found

Solutions to stomp: command not found

How To Fix stomp: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu stomp is provided by python3-stomp package.

python3-stomp is:

This package contains stomp.py, a Python client library for accessing messaging servers (such as Apollo or RabbitMQ) using the STOMP protocol (versions 1.0, 1.1 and 1.2). It can also be run as a standalone, command-line client for testing.

This package installs the library for Python 3.

To fix this problem, we can install more using the command below.

sudo apt-get -y install python3-stomp

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install python3-stomp.

sudo apt -y install python3-stomp

Or if you have aptitude installed you can use the following command.

sudo aptitude install python3-stomp

Summary

In this tutorial we learn how to fix stomp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.