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.

  • A similar question was asked here: askubuntu.com/questions/39658/… 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