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:
Any way to get a fresh ubuntu desktop without re-installing?

Is there any command or methods to remove all the packages and applications that I installed in Ubuntu desktop/server and revet it back to the stock setup.

share|improve this question

marked as duplicate by Eliah Kagan, jokerdino, Nitin Venkatesh, ajmitch, htorque Aug 18 '12 at 6:45

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.

A similar question was asked here:… Very briefly put, you'll need to obtain a list with the default packages. Comparing this to the list of your packages will show which packages need to be uninstalled. If you then find a way to automatically uninstall the package list you've generated (this is not explained in the referred answer) you're good to go. Alternatively, you might save yourself some time by simply reinstalling as @blueXrider suggested – Tomas Aug 1 '12 at 6:14

The best way is to re-format and re-install if you want to get back to default settings.

share|improve this answer
with out re-installing is there any other options, as re-installing takes a lot of time. – Vinod Aug 1 '12 at 5:50
mmm,you can reset settings using ubuntu tweak. reset settings using it's Desktop Recovery tool, But don't know how to remove all the packages and applications that installed – Prasad RD Aug 1 '12 at 6:12
Try a re-install bro, it won't take more than 20 mins (12 mins is my record) it's reliable :-) – Prasad RD Aug 1 '12 at 6:15
How does Ubuntu Tweak's Desktop recovery works? If we select Desktop as well as Applications in the tool and press Reset, will everything be revert back to stock? – Vinod Aug 1 '12 at 6:22
Yea re-installing is the only option left, As I tweak with my OS a lot, all these unwanted packages gets installed and I loose track of them. So I always hoped for some tools or commands to revert back to stock OS very easily :P . – Vinod Aug 1 '12 at 6:26

useful links

share|improve this answer
Your answer is not wrong, but I think the trick will be to find the packages that you need to install or uninstall – Tomas Aug 1 '12 at 6:08
I am aware of synaptic package manager and how to completely remove a package, my questions is how to remove all the user installed packages and applications. Is there any method to list all the user installed packages and applications(packages and applications that does not come along with the stock OS ) – Vinod Aug 1 '12 at 6:13
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the links for reference. – Eliah Kagan Aug 1 '12 at 6:15

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