[CALUG] File to rpm relation

Paul Kasper paul.kasper at computer.org
Wed Nov 16 11:28:20 CST 2005

Rajiv G Gunja wrote:
> Hello,
>     Is there a command or option with rpm which can tell me which rpm 
> package does a file belong to.
>     Example: /usr/X11R6/bin/resize which package deploy it?
>     Any ideas?
>     Thanks
> ....

prk at pke:~> which resize
prk at pke:~> rpm -qf /usr/X11R6/bin/resize
prk at pke:~>

  Paul R. Kasper <paul.kasper at computer.org>
  PGP: 5ADECAB1 print=1A3F 2F74 9AC6 7DE9 0102  DE99 CA78 D1A3 5ADE CAB1

More information about the lug mailing list