Finding obscure programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . (was: Re: [COLUG] Screen size in FC6)

Rob Funk rfunk at funknet.net
Tue Nov 7 16:08:51 EST 2006


talin at ilive4code.net wrote:
> === The package system method ===
>
> If you know a related file:
>   rpm -qf /etc/some.conf
>
> The do a:
>   rpm -ql <package name> | grep /bin
>
> Sorry, I forget the dpkg equivalent

To find out the package that a file is in:
  dpkg -S /path/to/file

To list the files in a given package:
  dpkg -L packagename


I gave some correspondences between rpm and dpkg on page 12 of the Debian 
presentation I did five years ago:
  http://www.funknet.net/rfunk/Linux/debian.pdf

-- 
==============================|   "A microscope locked in on one point
 Rob Funk <rfunk at funknet.net> |Never sees what kind of room that it's in"
 http://www.funknet.net/rfunk |    -- Chris Mars, "Stuck in Rewind"


More information about the colug432 mailing list