RPM
Chris Jones
jonesc at hep.phy.cam.ac.uk
Tue Oct 30 18:48:22 UTC 2007
Karl Larsen wrote:
> I printed out Maximum RPM in 1997 and I refer to it often. I was told
> today to use:
>
> # rpm -q --whatprovides (complete direction to a file) and it did
> provide the name of the file that provides /etc/rc.d/init.d/nvideo.
>
> Then just now I got to page 51 and there it listed this capability. I
> have had this capability for 8 years but didn't know it...
> :-)
yum can do the same thing, and has the advantage it will also tell you
about rpms you don't have installed, but are available in one of your
configured repos
> yum whatprovides /etc/rc.d/init.d/sshd
<snip>
openssh-server.i386 4.3p2-4.cern installed
Matched from:
/etc/rc.d/init.d/sshd
<snip>
Chris
More information about the fedora-list
mailing list