[Techtalk] which rpm package does a file belong to

Carolyn Hicks carolyn at bannoy.net
Thu May 16 16:33:47 EST 2002


On Thu, May 16, 2002 at 09:27:04AM +0300, Zohar, Itai wrote:
> Hi.
> 
> Is there a quick & easy way to find out which rpm package a file belongs to?

"rpm -qf /path/to/file" should do the trick.

Incidentally I just found out today how to do this in debian as well:

dpkg --search /path/to/file

cheers,
Carolyn



More information about the Techtalk mailing list