mrtg-sensors command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mrtg-sensors: command not found
or when using sudo you get the following error message
sudo: mrtg-sensors: command not found
Solutions to mrtg-sensors: command not found
How To Fix mrtg-sensors: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mrtg-sensors is provided by mrtgutils-sensors package.
mrtgutils-sensors is:
MRTGutils is a collection of simple utilities to generate output useful for mrtg. Many of the existing mrtg setups use shell or perl scripts to gather output. On busy systems, these scripts can generate a lot of extra load. These (small) C programs can return the given statistics more efficiently.
This package provides the binary mrtg-sensors that returns data sensors information from lm-sensors.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mrtgutils-sensors
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mrtgutils-sensors.
sudo apt -y install mrtgutils-sensors
Or if you have aptitude installed you can use the following command.
sudo aptitude install mrtgutils-sensors
Summary
In this tutorial we learn how to fix mrtg-sensors command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.