[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Showing recommended packages from cli

On 21/06/10 14:20, Andrei Popescu wrote:
> On Lu, 21 iun 10, 13:27:47, Todd A. Jacobs wrote:
>> Is there some functionality in apt-cache or aptitude for displaying
>> recommended files, other than having to visually parse the output of
>> "apt-cache show"?
> apt-cache depends <package>
> also shows the recommended packages.
>> Basically, I'd just like to get a list of recommended packages from a
>> list of installed or prospective packages without having to use the
>> aptitude GUI.
> Maybe grep-dctrl (package dctrl-tools) can help with this.

aptitude search '?reverse-recommends(^package$)'

The ^ and $ are needed because we want an exact match on the package,
and aptitude expects a regular expression.

Felipe Sateler

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: