Monday 5 April 2010

Completely removing wine

Removing wine completely from Ubuntu:

$ sudo apt-get --purge remove wine
$ sudo apt-get autoremove
$ sudo rm -r ~/.wine

You can remove the following files but not necessary:


Never use rm if you don't know what you are doing

I don't know why the menus still there in gnome but everything else has been remove. If you don't want to see the menus go to System -> Preferences -> Main Menu and remove it from there.

If later you want to reinstall wine first renable the menu in gnome by going to /home/username/.config/menus you should find a file - . Inside should be similar to this:

  PUBLIC '-//freedesktop//DTD Menu 1.0//EN'
    <MergeFile type="parent">/etc/xdg/menus/</MergeFile>

If so delete the file. (if there's more than the wine entry I'd try just removing the wine ref.) There may be other wine related .menus in the applications-merged folder, delete them also. Now you can reinstall wine.


Post a Comment