LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   finding package of a file that is not installed (https://www.linuxquestions.org/questions/debian-26/finding-package-of-a-file-that-is-not-installed-606791/)

Steve Riley 12-14-2007 11:10 AM

finding package of a file that is not installed
 
I needed /usr/include/db.h and it took me a while to find it.

How do I find the package that a file belongs to if the package is not yet installed? A complete online cross-reference of files to packages would do it.

Does such a think exist?

(Looking for something more specific than "google it"!)

Thanks

farslayer 12-14-2007 11:13 AM

Absolutely that online reference exists..

http://www.debian.org/distrib/packages

you can search for packages, or the contents of packages, etc..


heres the results for /usr/include/db.h

PMorph 12-14-2007 11:15 AM

apt-file search <file>

Steve Riley 12-15-2007 11:02 AM

farslayer - that's it. I knew it had to be somewhere!

Thanks.


All times are GMT -5. The time now is 04:06 AM.