Re: Learning dpkg/apt
On 19-Aug-00, 18:56 (CDT), Ethan Benson <firstname.lastname@example.org> wrote:
> for things like querying (dpkg -s and such) install dlocate it solves
> that problem the Right Way. (unfortunatly it got removed from potato
> for less then critical bugs)
* "Steve" == Steve Greenland <email@example.com> wrote:
Steve> man apt-cache. (Assuming you're using apt-get either directly
Steve> or via dselect, and there is no reason not to!)
apt-cache and dlocate cover quite different areas. dlocate is for dpkg
queries like -L and -S (and more). And it is so damn _fast_.
$ time dpkg -l \*applet\* > /dev/null
$ time dlocate -l applet > /dev/null
$ time apt-cache --names-only search applet > /dev/null
[These are the times of the second invocation, so memory cache/buffers
IMHO, it is a must have. Cudos to Craig.