sendsms command not found

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

Introduction

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

sendsms: command not found

or when using sudo you get the following error message

sudo: sendsms: command not found

Solutions to sendsms: command not found

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

In Ubuntu sendsms is provided by gnokii-cli package.

gnokii-cli is:

Gnokii is a suite of programs that allows communication with mobile phones. It currently supports many Nokia mobile phones, all AT capable ones as well as many Symbian based. For a list of compatible phones, please visit: http://wiki.gnokii.org

This package provides the command line interface and the virtual modem daemon for non-AT-capable phones.

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

sudo apt-get -y install gnokii-cli

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

You can also use apt command to install gnokii-cli.

sudo apt -y install gnokii-cli

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

sudo aptitude install gnokii-cli

Summary

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