modemtest command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
modemtest: command not found
or when using sudo you get the following error message
sudo: modemtest: command not found
Solutions to modemtest: command not found
How To Fix modemtest: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu modemtest is provided by libdevice-serialport-perl package.
libdevice-serialport-perl is:
Device::SerialPort provides an object-based user interface essentially identical to the one provided by the Win32::SerialPort module. This provides device-level access to a system’s serial port.
Also included is modemtest – a tool for examining your modem using Device::SerialPort.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libdevice-serialport-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libdevice-serialport-perl.
sudo apt -y install libdevice-serialport-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libdevice-serialport-perl
Summary
In this tutorial we learn how to fix modemtest command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.