How do I remove or uninstall Deluge?

I upgraded to 12.04 and Deluge broke. I want to remove it and then add it again. How do I remove Deluge?

  1. Tried: Searching the Ubuntu Software Centre
    Failed: The button reads "Install" (but it's already installed!)
  2. Tried: sudo apt-get remove --purge deluge
    Failed: Output read Removing deluge... but I can still find it when I search my dash

Solution 1:

I had the same problem uninstalling Deluge. I realized that I had the GTK version installed so merely deleting deluge didn't do the trick. I used sudo apt-get remove --purge deluge-gtk

Solution 2:

If sudo apt-get remove --purge deluge succeeded, then the deluge package was successfully removed.

If menu items still appear in your dash, it doesn't necessarily mean that the program is still installed, just that links to it remain somewhere. Possibly, the dash keeps its own cache of what is in your menu, and it takes a little while to realise that a change has been made.

Feel free to go ahead and reinstall deluge now to see if it works.

For future reference, you should look for dotfiles in ~/ or in ~/config that relate to Deluge. That is the most likely place it would store data for your account. Try purging or renaming that instead. That may solve your original problem with it (rather than re-installing it).