sensors command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sensors: command not found
or when using sudo you get the following error message
sudo: sensors: command not found
Solutions to sensors: command not found
How To Fix sensors: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sensors is provided by lm-sensors package.
lm-sensors is:
Lm-sensors is a hardware health monitoring package for Linux. It allows you to access information from temperature, voltage, and fan speed sensors. It works with most newer systems.
This package contains programs to help you set up and read data from lm-sensors.
To fix this problem, we can install more using the command below.
sudo apt-get -y install lm-sensors
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install lm-sensors.
sudo apt -y install lm-sensors
Or if you have aptitude installed you can use the following command.
sudo aptitude install lm-sensors
Summary
In this tutorial we learn how to fix sensors command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.