w1sensors command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
w1sensors: command not found
or when using sudo you get the following error message
sudo: w1sensors: command not found
Solutions to w1sensors: command not found
How To Fix w1sensors: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu w1sensors is provided by w1retap package.
w1retap is:
The w1retap package reads weather sensors on a 1-Wire bus and logs the retrieved data to the configured databases or files. It supports a number of different 1-Wire host bus adapters and 1-Wire sensors designed by Dallas Semiconductor Corp (now Maxim Integrated) and compatible sensors including those from AAG Electrónica and other hobby sensors.
To fix this problem, we can install more using the command below.
sudo apt-get -y install w1retap
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install w1retap.
sudo apt -y install w1retap
Or if you have aptitude installed you can use the following command.
sudo aptitude install w1retap
Summary
In this tutorial we learn how to fix w1sensors command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.