Re: [SLUG] A "whatis" catalog

From: Mario Lombardo (mario@alienscience.com)
Date: Sun Dec 30 2001 - 21:37:21 EST


Yes, I use "apt-cache search [...]" all the time, but it functions
more like a the grep command than a package list. I think maybe
Derek Glidden's approach works from the same database.

dpkg -l

Does apt use the same DB as dpkg?

Mario

>also, apt-cache will give you information on packages (all the
>available ones, not just the ones you have installed). For example,
>
>apt-cache search plot
>will return all the packages whose descriptions contain the word
>plot. Then you can look up info on one of the results with the show
>option for more detailed information.
>
>apt-cache show starplot
>
>
> scott
>
>Derek Glidden wrote:
>
>>On Fri, 2001-12-28 at 13:19, Mario Lombardo wrote:
>>
>>>I'm using Debian. Somtimes I use the "whatis" command to find out
>>>what I program does. I understand it derives its information from
>>>the top line description of the man page of the particular command.
>>>
>>
>>
>>>How can I, script or otherwise, dump all of this information into
>>>a text catalog-like file so I can print it?
>>>
>>
>>If you're running Debian, "dpkg -l" will list all installed packages and
>>what they do. It's a little higher-level than per-command, as a single
>>package may contain many commands.
>>
>>You could also do "man -k" to search for keywords.
>>
>>"man man" may show you a way to dump everything. :)

-- 



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:27:25 EDT