ModemManager command not found

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

Introduction

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

ModemManager: command not found

or when using sudo you get the following error message

sudo: ModemManager: command not found

Solutions to ModemManager: command not found

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

In Ubuntu ModemManager is provided by modemmanager package.

modemmanager is:

ModemManager is a DBus-activated daemon which controls mobile broadband (2G/3G/4G/5G) devices and connections. Whether built-in devices, USB dongles, Bluetooth-paired telephones or professional RS232/USB devices with external power supplies, ModemManager is able to prepare and configure the modems and setup connections with them.

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

sudo apt-get -y install modemmanager

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

You can also use apt command to install modemmanager.

sudo apt -y install modemmanager

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

sudo aptitude install modemmanager

Summary

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