View Full Version : [ubuntu] How do you Uninstall a program AND all dependencies.

May 18th, 2008, 01:13 AM
I recently installled acetoneiso (http://www.acetoneiso.netsons.org/forum/viewthread.php?forum_id=3&thread_id=20&pid=78#post_78), thinking it would work similar to Windows UltraISO. It didn't and hard to figure out. So I uninstalled it.

When I installed it there were a slew of dependencies that were required to run this program. When I uninstalled Acetoneiso, that was all that got uninstalled. I didn't think to write down the other files. How do I get rid of them?

I don't know where to look. Is their a directory where they were kept. In the future how do I avoid this mistake?

May 18th, 2008, 02:50 AM
Assuming you already uninstalled the program (e.g. with "sudo apt-get remove [whatever]"), just type this in the terminal:

sudo apt-get autoremove

That will remove packages that were installed to satisfy a dependecy that's no longer needed. apt-get makes these sorts of issues easy to deal with :)

May 18th, 2008, 03:21 AM
I use this from a command line:

apt-get remove --purge <program>

May 18th, 2008, 04:04 AM
Thank both of you!

I executed the command:
sudo apt-get autoremove
A bunch of programs no longer needed were removed, 51+mb

This command, I'm assuming if I executed it first using "acetoneiso" for the program name, then all those unneeded dependencies would have been uninstalled also, correct?
apt-get remove --purge <program>

May 18th, 2008, 06:40 AM