Where to get help

I just installed Rocky on our server after many years on Fedora and I have had quite a bit of trouble with missing utilities (locate and smartctl are two examples). I turned on all of the crb repositories and found (m)locate but not smartctl. Some zip formats (.xz and .lz at least) are missing and my most pressing problem is re2c,required to compile PHP, is also MIA. Obviously I missed something on the Rocky install but any ideas how to find it or where to look?

Tbh, normally I just search on pkgs.org, because it not only has all the 1st party repos but also most of the 3rd party repos searchable.

It looks like smartctl is part of the smartmontools package: https://rockylinux.pkgs.org/9/rockylinux-baseos-x86_64/smartmontools-7.2-6.el9.x86_64.rpm.html

And re2c is not part of the 1st party repos, but it’s in EPEL: https://rhel.pkgs.org/9/epel-x86_64/re2c-2.2-1.el9.x86_64.rpm.html
(assuming you are using Rocky 9 in 8 it’s in the PowerTools repo)

Thanks! I didn’t know about the pkgs.org site. That should be helpful. As a matter of curiosity, how did you find that smartctl was in the smartmontools package? Is there some obvious way to check inside packages?

1 Like

@johni I’m assuming Rocky Linux 9.x here, but it should work the same on 8.x:

dnf whatprovides smartctl

Which shows:

smartmontools-1:7.2-6.el9.x86_64 : Tools for monitoring SMART capable hard disks
Repo        : @System
Matched from:
Filename    : /usr/sbin/smartctl

smartmontools-1:7.2-6.el9.x86_64 : Tools for monitoring SMART capable hard disks
Repo        : baseos
Matched from:
Filename    : /usr/sbin/smartctl

Hope this helps!
Steve

As @sspencerwire is already saying, you can either do the dnf whatprovides but also on pkgs.org you can search by filename, and then it will show up :slight_smile:

https://pkgs.org/search/?q=smartctl&on=files

Thanks fellows, especially for being so fast! Changing the distro has been more trouble than expected! Suspect I’m not finished yet.

John

1 Like