Debian – aptitude: list all previous recommended packages

aptitudedebianpackages

Sometimes when installing a package, aptitude recommends several other packages.

Is there a way to show all previous recommended packages of all installed packages?

Edit:

Thanks for the replys so far. I already tried:

aptitude show ~i | grep '^Recommends' | cut -d ' ' -f 2-

Thats mostly ok. But it gives also things back like:

 console-setup | console-data (>= 2002.12.04dbs-1)

I want an easy way, to install all missing recommended packages.

So

 aptitude install console-setup | console-data (>= 2002.12.04dbs-1)

won't work 😉

Is there a way, without manual checking all entries, to do this?

Best Answer

Synaptic -> Custom Filters -> Missing Recommends

or

aptitude search '~RBrecommends:~i'

(thanks to http://blog.isonoe.net/post/2011/07/18/Debian-Tips-1%3A-Find-missing-recommended-packages)