PDA

View Full Version : [ubuntu] How to install im sensors



QazLeo
February 14th, 2010, 12:42 PM
i dont understand their installation instruction.
i extracted the .tar.bz2 file.but wat to do next?

SuperSonic4
February 14th, 2010, 12:44 PM
im sensors or lm sensors? A google search for the former yields the latter.

lm_sensors is in the repositories so you can use synaptic to find it



To answer the question I suspect you'd do
cd lm_sensors-3.1.2
make all
sudo make install

this is explained in the INSTALL file in the folder you extracted

QazLeo
February 14th, 2010, 12:48 PM
I typed wrongly.lm sensors.But show me step by step how to install?

QazLeo
February 14th, 2010, 12:53 PM
It says

Makefile:175: lib/data.ld: No such file or directory
Makefile:175: lib/general.ld: No such file or directory
Makefile:175: lib/error.ld: No such file or directory
Makefile:175: lib/access.ld: No such file or directory
Makefile:175: lib/init.ld: No such file or directory
Makefile:175: lib/sysfs.ld: No such file or directory
Makefile:175: lib/conf-parse.ld: No such file or directory
Makefile:175: lib/conf-lex.ld: No such file or directory
Makefile:175: lib/data.ad: No such file or directory
Makefile:175: lib/general.ad: No such file or directory
Makefile:175: lib/error.ad: No such file or directory
Makefile:175: lib/access.ad: No such file or directory
Makefile:175: lib/init.ad: No such file or directory
Makefile:175: lib/sysfs.ad: No such file or directory
Makefile:175: lib/conf-parse.ad: No such file or directory
Makefile:175: lib/conf-lex.ad: No such file or directory
bison -p sensors_yy -d lib/conf-parse.y -o lib/conf-parse.c
make: bison: Command not found
make: *** [lib/conf-parse.c] Error 127

when i enter sudo make install

SuperSonic4
February 14th, 2010, 12:59 PM
Do you have build-essential installed? As the name suggests it's essential for compiling


sudo apt-get install build-essential

The instructions in my previous post work for me.

Just out of interest what is the output of
echo $PATH

wojox
February 14th, 2010, 01:03 PM
You could also just download it from the repo's:


sudo apt-get install lm-sensors sensors-applet


sudo sensors-detect

nick_goodfate
February 14th, 2010, 01:06 PM
step 1 : System->Administration->Synaptic package manager
stem 2 : in the search field type lm sensors
step 3 : click the box next to lm-sensors, in the list of results, and mark for installation. a new window will pop up that tells you you need some extra packages . click on "mark" button.
step 4 : click "apply" button . you re done .

QazLeo
February 14th, 2010, 01:20 PM
Ok ,i used nick_goodfate's method.the package manager says its installed, but where can i find it?

nick_goodfate
February 14th, 2010, 01:23 PM
i installed it too and i cant find it ether ... help !:P

lovinglinux
February 14th, 2010, 01:26 PM
Ok ,i used nick_goodfate's method.the package manager says its installed, but where can i find it?

It's a command-line application. Open a terminal and type sensors. It will display the results. You can also add a panel item that will use sensors to display the information graphically. I don't remember it's name, because I'm using KDE. Anyway, several applications use sensors as backend. For example the screenlets monitors.

SuperSonic4
February 14th, 2010, 03:20 PM
It's a command-line application. Open a terminal and type sensors. It will display the results. You can also add a panel item that will use sensors to display the information graphically. I don't remember it's name, because I'm using KDE. Anyway, several applications use sensors as backend. For example the screenlets monitors.

First you will have to run
sudo sensors-detect and setup the config file via the on-screen prompts.

After that running sensors works.


If you're [OP] interested in the temperature of your hard drive(s) then you can also grab hddtemp from Synaptic or by pasting
sudo apt-get install hddtemp into a terminal. You can then run it with
sudo hddtemp /dev/sda /dev/sdb etc