mashup "apt-cache search <SearchTerm>" & "dpkg -l" - HowTo? ; jor Ubuntu

Tom H tomh0665 at gmail.com
Sun Jun 27 08:40:24 UTC 2010


On Sat, Jun 26, 2010 at 7:58 PM, giovanni_re <john_re at fastmail.us> wrote:
> Is there a way to mashup "apt-cache search <SearchTerm>" & "dpkg -l"
> - so that given a SearchTerm,
> it would find all the related package names in the cache,
> then do a "dpkg -l" on those package names?

No need for dpkg.

aptitude -F "%c%a %p %v %d" search '?narrow(?installed,searchterm)'




More information about the ubuntu-users mailing list