Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

1 Answer 1

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.