Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 12-14-2007, 11:10 AM   #1
Steve Riley
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94

Rep: Reputation: 15
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"!)

Old 12-14-2007, 11:13 AM   #2
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,248
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Absolutely that online reference exists..

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

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

Last edited by farslayer; 12-14-2007 at 11:15 AM.
Old 12-14-2007, 11:15 AM   #3
Registered: Sep 2003
Distribution: Debian
Posts: 213

Rep: Reputation: 31
apt-file search <file>
Old 12-15-2007, 11:02 AM   #4
Steve Riley
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94

Original Poster
Rep: Reputation: 15
farslayer - that's it. I knew it had to be somewhere!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
package updater not finding gcc which is installed strimp099 Linux - Software 2 04-19-2006 07:41 PM
Finding the owning package of a file yadu Debian 2 11-12-2005 09:09 AM
RPM package manager says package needs to be installed. But I already installed it! nick623 Linux - Software 2 05-24-2005 02:15 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
Installed file conflicts with file from package XFree86-4.1.0-26 LinuxOff Linux - Software 2 09-06-2004 02:00 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration