Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   mashup "apt-cache search " & "dpkg -l" - HowTo? ; jor Ubuntu (http://www.linux-archive.org/ubuntu-user/391367-mashup-apt-cache-search-searchterm-dpkg-l-howto-jor-ubuntu.html)

"giovanni_re" 06-26-2010 11:58 PM

mashup "apt-cache search " & "dpkg -l" - HowTo? ; jor Ubuntu
 
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?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Tom H 06-27-2010 08:40 AM

mashup "apt-cache search " & "dpkg -l" - HowTo? ; jor Ubuntu
 
On Sat, Jun 26, 2010 at 7:58 PM, giovanni_re <john_re@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)'

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 06:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.