gsmctl command not found

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

Introduction

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

gsmctl: command not found

or when using sudo you get the following error message

sudo: gsmctl: command not found

Solutions to gsmctl: command not found

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

In Ubuntu gsmctl is provided by gsm-utils package.

gsm-utils is:

Some simple command line programs to access a GSM mobile phone via GSM modem or IrDA. Functions include: modification of phone books and reading, writing, sending and receiving SMS messages. Uses the GSM standards ETSI GSM 07.07, ETSI GSM 07.05, and others.

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

sudo apt-get -y install gsm-utils

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

You can also use apt command to install gsm-utils.

sudo apt -y install gsm-utils

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

sudo aptitude install gsm-utils

Summary

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