Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I recently installed a LAMP stack on my Ubuntu 11.10 machine so I can work a little more easily with some of my outside work. However come to find out the lamp stack is conflicting with my core paying job. Now I need to remove apache, mysql, php, and phpmyadmin so I can get back on track with my main paying job.

So question today is how do I uninstall my LAMP packages (cleanly)

share|improve this question
up vote 1 down vote accepted
apt-get remove --auto-remove

is your friend. Identify the packages you've installed by hand (by looking at your logs and notes, for example) and remove them, letting auto-remove take care of the rest.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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