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?

3 Answers 3


Find out which package it's contained in:

yum provides */smartctl

Then install the package indicated, which should be smartmontools.


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


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

yum install smartmontools

I found this helpful:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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