smstrade_balance command not found

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

Introduction

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

smstrade_balance: command not found

or when using sudo you get the following error message

sudo: smstrade_balance: command not found

Solutions to smstrade_balance: command not found

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

In Ubuntu smstrade_balance is provided by python3-smstrade package.

python3-smstrade is:

python-smstrade lets you send SMS via and retrieve your account balance from the service of smstrade.eu.

The package comes with two command line utilities smstrade_send and smstrade_balance to access the library functionality from the command line.

The package may be used for alerting in monitoring applications or other scenarios where sending SMS might be useful.

This is the Python 3 version of the package.

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

sudo apt-get -y install python3-smstrade

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

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

sudo apt -y install python3-smstrade

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

sudo aptitude install python3-smstrade

Summary

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