mmcli command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mmcli: command not found
or when using sudo you get the following error message
sudo: mmcli: command not found
Solutions to mmcli: command not found
How To Fix mmcli: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mmcli 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 mmcli command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.