How To Install lm-sensors On Debian 8.3
To Install lm-sensors On Debian 8.3
lm_sensor is a free and open source hardware health monitoring tool for Linux. It is used for monitoring temperatures, voltage, humidity, and fans. The installation of lm_sensor is very easy and it is covered in this article.
Installing lm_sensors
Before starting the installation of lm Sensors, add the repository by making use of the following command.
root@linuxhelp:~# nano /etc/apt/sources.list
deb http://ftp.debian.org/debian/ stable main contrib non-free
deb http://ftp.de.debian.org/debian jessie main
Once it is added, update the recently added repository by using the following command.
root@linuxhelp:~# apt-get update
Get:1 http://ftp.debian.org jessie-updates InRelease [145 kB]
Ign http://ftp.de.debian.org jessie InRelease
Get:2 http://ftp.de.debian.org jessie Release.gpg [2,373 B]
Get:3 http://ftp.de.debian.org jessie Release [148 kB]
Ign http://ftp.debian.org stable InRelease
Get:4 http://ftp.debian.org jessie-updates/main Sources [15.4 kB]
Get:5 http://ftp.de.debian.org jessie/main amd64 Packages [6,776 kB]
Get:6 http://ftp.debian.org jessie-updates/contrib Sources [32 B]
Get:7 http://ftp.debian.org jessie-updates/main amd64 Packages/DiffIndex [6,916 B]
Get:8 http://ftp.debian.org jessie-updates/contrib amd64 Packages [32 B]
Get:9 http://ftp.debian.org jessie-updates/contrib Translation-en [14 B]
Get:10 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
Get:11 http://ftp.debian.org stable Release.gpg [2,373 B]
Get:12 http://ftp.debian.org stable Release [148 kB]
Get:13 http://ftp.debian.org stable/main amd64 Packages [6,776 kB]
Get:14 http://ftp.debian.org stable/contrib amd64 Packages [50.2 kB]
Get:15 http://ftp.debian.org stable/non-free amd64 Packages [83.6 kB]
Get:16 http://ftp.debian.org stable/contrib Translation-en [38.5 kB]
Get:17 http://ftp.debian.org stable/main Translation-en [4,582 kB]
Get:18 http://ftp.de.debian.org jessie/main Translation-en [4,582 kB]
Get:19 http://ftp.debian.org stable/non-free Translation-en [72.1 kB]
Fetched 23.4 MB in 5min 27s (71.5 kB/s)
Reading package lists... Done
Now is the time to install the lm-sensors. Do it by using the following command.
root@linuxhelp:~# apt-get install lm-sensors -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
fancontrol sensord read-edid i2c-tools
The following NEW packages will be installed:
lm-sensors
0 upgraded, 1 newly installed, 0 to remove and 264 not upgraded.
Need to get 109 kB of archives.
After this operation, 342 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ stable/main lm-sensors amd64 1:3.3.5-2 [109 kB]
Fetched 109 kB in 1s (80.4 kB/s)
Selecting previously unselected package lm-sensors.
(Reading database ... 136761 files and directories currently installed.)
Preparing to unpack .../lm-sensors_1%3a3.3.5-2_amd64.deb ...
Unpacking lm-sensors (1:3.3.5-2) ...
Processing triggers for systemd (215-17+deb8u3) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up lm-sensors (1:3.3.5-2) ...
Processing triggers for systemd (215-17+deb8u3) ...
Run the following command for using lm-sensors.
root@linuxhelp:~# sensors
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +100.0° C (high = +100.0° C, crit = +100.0° C)
Core 0: +100.0° C (high = +100.0° C, crit = +100.0° C)
Core 1: +100.0° C (high = +100.0° C, crit = +100.0° C)
coretemp-isa-0001
Adapter: ISA adapter
Physical id 1: +100.0° C (high = +100.0° C, crit = +100.0° C)
Core 0: +100.0° C (high = +100.0° C, crit = +100.0° C)
Core 1: +100.0° C (high = +100.0° C, crit = +100.0° C)
You can also remove the lm-sensors by triggering for that command
root@linuxhelp:~# apt-get remove lm-sensors -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
lm-sensors
0 upgraded, 0 newly installed, 1 to remove and 264 not upgraded.
After this operation, 342 kB disk space will be freed.
(Reading database ... 136796 files and directories currently installed.)
Removing lm-sensors (1:3.3.5-2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Comments ( 0 )
No comments available