mbpoll command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mbpoll: command not found
or when using sudo you get the following error message
sudo: mbpoll: command not found
Solutions to mbpoll: command not found
How To Fix mbpoll: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mbpoll is provided by mbpoll package.
mbpoll is:
mbpoll uses libmodbus (http://libmodbus.org/). Although the syntax of these options is very close modpoll proconX program, it is a completely independent project.
mbpoll can:
- read discrete inputs
- read and write binary outputs (coil)
- read input registers
- read and write output registers (holding register)
The reading and writing registers may be in decimal, hexadecimal or floating single precision.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mbpoll
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mbpoll.
sudo apt -y install mbpoll
Or if you have aptitude installed you can use the following command.
sudo aptitude install mbpoll
Summary
In this tutorial we learn how to fix mbpoll command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.