Ask Your Question

How do I install lm_sensors to check cpu temperature and fan speeds?

asked 2013-01-14 15:52:51 -0500

Bucic gravatar image

updated 2013-09-14 04:42:49 -0500

I.e. how to easily install sensors to be able to run it in terminal to get temperature and fan speed readings. This guy has it installed in fedora but I myself couldn't install it neither by

sudo yum install lm-sensors


sudo yum install sensors

In Ubuntu it was done by

sudo apt-get install lm-sensors

Yum search

yum search sensors


============================= N/S Matched: sensors =============================
collectd-sensors.x86_64 : Libsensors module for collectd
gnome-applet-sensors.i686 : Gnome panel applet for hardware sensors
gnome-applet-sensors.x86_64 : Gnome panel applet for hardware sensors
gnome-applet-sensors-devel.i686 : Development files for gnome-applet-sensors
gnome-applet-sensors-devel.x86_64 : Development files for gnome-applet-sensors
ksensors.x86_64 : KDE frontend to lm_sensors
lm_sensors-devel.i686 : Development files for programs which will use lm_sensors
lm_sensors-devel.x86_64 : Development files for programs which will use
                        : lm_sensors
lm_sensors-libs.i686 : Lm_sensors core libraries
lm_sensors-libs.x86_64 : Lm_sensors core libraries
nagios-plugins-sensors.x86_64 : Nagios Plugin - check_sensors
xfce4-sensors-plugin.i686 : Sensors plugin for the Xfce panel
xfce4-sensors-plugin.x86_64 : Sensors plugin for the Xfce panel
xfce4-sensors-plugin-devel.i686 : Development files for xfce4-sensors-plugin
xfce4-sensors-plugin-devel.x86_64 : Development files for xfce4-sensors-plugin
lm_sensors.x86_64 : Hardware monitoring tools
lm_sensors-sensord.x86_64 : Daemon that periodically logs sensor readings

  Name and summary matches only, use "search all" for everything.

How to change CPU temperature thresholds and control fan speed?
How to identify lm_sensors output?

edit retag flag offensive close merge delete



you were typing lm-sensors instead of lm_sensors :P. I think it is the difference between the .db package and the rpm package.

hmaarrfk gravatar imagehmaarrfk ( 2013-09-13 10:26:11 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2013-01-14 15:54:16 -0500

Bucic gravatar image

updated 2014-02-02 06:53:13 -0500


sudo yum install lm_sensors.x86_64

in terminal to install lm_sensors. To get the readings issue the following command in terminal


watch sensors to monitor the temperatures continuously. Press Ctrl+C to exit.

A note:
It is recommended to run sudo sensors-detect after installation, but only if you're able to carefully follow the warnings it will give you and decide accordingly.

A tip:
Normally you'll need only few of the indicators returned by the sensors command. You can limit the displayed indicators using the grep command. Examples:
I've got only one fan and the two important temps I need are listed below the fan RPM value so to check my sensors I use:
sensors | grep -A 2 RPM
-B 2 would give the line containing RPM and two lines above while -C 2, the line containing RPM plus two lines above and two lines below.

To show only lines with specific parameters I could issue:
sensors | grep fan1 temp1 temp2 temp9

edit flag offensive delete link more

answered 2014-02-02 07:16:26 -0500

Glenn gravatar image

You're trying to install lm dash sensors. You want to install lm underscore sensors.

edit flag offensive delete link more

answered 2015-10-28 16:58:26 -0500

yum install lm_sensors

yum install lm_sensors-sensord


watch -d sensors

service sensord start

Then refer to

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-01-14 15:52:51 -0500

Seen: 60,401 times

Last updated: Feb 02 '14