Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install lm-sensors on ubuntu server 11.04 with the following command sudo apt-get install lm-sensors, but I am getting the following error:

Error Package lm-sensors has no installation candidate.

I need a program that can show me detailed statistics about temperatures and usage of my components (cpu, ram, hdd) like lm-sensors.

If I cannot install it, exist other option like lm-sensors ?

share|improve this question

migrated from Oct 1 '11 at 10:36

This question came from our site for professional and enthusiast programmers.

up vote 4 down vote accepted

You will need to enable the Universe repository to install the package.

sudo nano /etc/apt/sources.list

remove the # from the beginning of the lines that look something like:

deb natty universe
deb-src natty universe
deb natty-updates universe
deb-src natty-updates universe

Save and then refresh your repository information:

sudo apt-get update

To install the package:

sudo apt-get install lm-sensors

Linked Question:

  1. How to use to use lm-sensors?
share|improve this answer
The apt manager works, but i get an error saying that fan controller is in conflict and it cannot install it. I installed fan controller a time ago, and now i need to remove it in order to install lm sensors. Please tell me the command to remove fan, is crucial for me to install lm sensors to see the cpu temperatures. – Oct 3 '11 at 10:04
ok - edit your question with the output that you see - normally with a "conflict" message you just run a "sudo apt-get purge [package name]" type statement to remove the conflicting package. – fossfreedom Oct 3 '11 at 10:08
sudo apt-get update, and then sudo apt-get install lm-sensors and works, thank you guys. – Oct 3 '11 at 13:39

The error shows you may have spelled it wrong. Try the following command

sudo apt-get install lm-sensors
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.