Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Possible Duplicate:
How to remove an uninstalled package's dependencies?

when I want to install a specific package (with synaptic) that depends on some other packages, I have to install them too.

But I want to remove this specific package, I want the dependencies to be removed too.

share|improve this question

marked as duplicate by bodhi.zazen, Jorge Castro, desgua, Caesium, Bruno Pereira Feb 23 '12 at 16:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 1 down vote accepted

After you remove the package, any packages that were automatically installed because of their dependency can be removed like this:

sudo apt-get autoremove

From the man page:

autoremove is used to remove packages that were automatically installed to satisfy dependencies for some package and that are no more needed.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.