Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 got myself a hard drive that is making funny noises.

I want to check for errors, I want to use smartctl,

This command

[root@defiant ~]# smartctl -V

produces an error:

bash: smartctl: command not found...

yum install smartctl doesn't work. How do I yum install smartctl?

share|improve this question
up vote 3 down vote accepted

Find out which package it's contained in:

yum provides */smartctl

Then install the package indicated, which should be smartmontools.

share|improve this answer

You can find that it's in the smartmontools package with

yum search all smartctl

and it happens you can install the package directly if you know the full path name to a file in the package, which in this case is:

sudo yum install /usr/sbin/smartctl

share|improve this answer

I found it out. You don't install smartctl, you do this:

yum install smartmontools

I found this helpful:

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.