Debian package question

Damien Elmes resolve at
Sat Mar 9 14:58:44 EST 2002

Grant Morphett <grant at> writes:

> So I have my debian system and I know its missing a certain file.  Could be a
> header file or an exe file - whatever.  How do I determine which package that
> file is in so I can then install that package?

dpkg -S file

for packages that you've got on your system. 

apt-cache search foo

for descriptions in the package

and join #debian on, /msg apt find file
for it to search the entire package lists for the file. i don't think there's a
shortcut way of doing that (if there is, someone fill me in)

Damien Elmes
resolve at

More information about the linux mailing list