[plug] Which RPM?
David Griffiths
griffith at environ.wa.gov.au
Fri Jun 9 15:51:06 WST 2000
>Lists,
>
>Trying to find which RPM contains a file. Normally I would use:
>
>rpm -qf <looking for> i.e. /bin/pwd
>
>I am trying to find the rpm that contains the "patch" command but I
>can't seem to get it to work as I don't know where patch would live. I
>have tried /bin/patch and /sbin/patch
>
>Any clues please? Thanks
>
If you;re looking for a particular file from an unknown red hat package
that may or may not yet be installed you can always install rpmdb pkg and do a
rpm -q --redhatprovides <needed filename>
I can't recall if the full pathname is required or not (expect not though).
Dave.
========================================================================
David Griffiths griffith at environ.wa.gov.au
Air Quality Management Branch
Department of Environmental Protection Phone: 61 8 9222 7151
Westralia Square Fax : 61 8 9321 5184
141 St Georges Tce
Perth 6000
Western Australia
========================================================================
More information about the plug
mailing list