[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Which package has the file xxx ?
- From: Chris Kloiber <ckloiber redhat com>
- To: RH SeaWolf <seawolf-list redhat com>
- Subject: Re: Which package has the file xxx ?
- Date: Fri, 29 Jun 2001 14:18:55 -0400 (EDT)
On Fri, 29 Jun 2001, LinuxKH wrote:
>
> Hi all,
>
> How to find the name of the package which has the file x ?
>
> Example: The 'su' file belongs to which package ?
>
> `man rpm` doesn't help me. :-( Help !
There are ways, and then there are ways...
(Which means you are probably getting a number of differnt and perfectly
valid answers)
I generally either locate the file or use which (to get the full path)
# which ping
/bin/ping
Then I ask rpm where it came from:
# rpm --redhatprovides /bin/ping
iputils-20001110-1
--
Chris Kloiber, RHCE
Enterprise Support - Red Hat, Inc.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]