l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Nov 17 00:40

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] finding the debian package that provides a command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] finding the debian package that provides a command

On Sun, Nov 16, 2003 at 07:29:27PM -0800, Peter Jay Salzman wrote:
> On Sun 16 Nov 03,  7:12 PM, David Hummel <ddhummel@pacbell.net> said:
> > Does dpkg or apt (or maybe some other tool) provide a mechanism for
> > determining what package a file or command belongs to for packages
> > that aren't installed?
> p@satan$ auto-apt search xargs
> usr/bin/xargs   base/findutils

Thanks (to Ken as well).  But try:

$ auto-apt search gqview

... and look at the mess you get.

> p@satan$ apt-cache search xargs
> findutils - utilities for finding files--find, xargs, and locate

This seems to be incomplete since it relies on the file or command name
being in the package descriptions in /var/lib/apt/lists.


$ apt-cache search updatedb

(updatedb is also in the findutils package)

"apt-file search" seems the most promising for this purpose (and
wouldn't you know I had apt-file installed already ;-).

David Hummel
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!