Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In synaptic if you right-click a package you will see a sub-menu called recommended and another sub-menu called suggested.

How can I see the recommended and suggested packages for a specific package in the terminal?

share|improve this question
up vote 1 down vote accepted

Use aptitude show. For example:

aptitude show vlc
share|improve this answer
Thank you. Mohammad – MIH1406 Jul 9 '10 at 22:29

You can use aptitude search with ?reverse-depType(pattern):

For example

aptitude search '?reverse-recommends(?narrow(?version(CURRENT),^freemind$))'

will show you the recommends of the currently installed freemind package.

Note that you should use ^packagename$ and not just packagename, because otherwise you will also find the recommends of packages containing packagename in their name.

And you might want to use ?narrow(?version(CURRENT), ...) or something similiar to show only the recommends of the current version, otherwise you will see the recommends of all available versions in the repositories.

For suggests use ?reverse-suggests instead.

Also you can look at the Search Term Reference

share|improve this answer


apt-cache depends PACKAGE

or, to get also other info on the PACKAGE, use:

apt-cache showpkg PACKAGE
share|improve this answer
Without sudo please. – Peter Eisentraut Jul 29 '10 at 14:26
Corrected: sudo was not necessary. I was just used to use sudo at each invocation of apt-* commands. – mrucci Jul 30 '10 at 5:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .