I think I borked my Wine install.

Is there a way I can "start fresh", so to speak--completely uninstall everything Wine-related and start over?

  • Try deleting your .wine folder in your home directory. – Nemo Jul 21 '13 at 4:54

Simple to solve without command line or sudo. Just delete the ~/.wine directory that is in your home folder (were ~ is shorthand for /home/username). You will have to show hidden files to find it. Wine will automatically rebuild this directory the next time you use it.

While this is the quick and easy way it does leave leftover entries in ~/.local/share/applications. Just browse to this folder and delete the unwanted files/directories left from installed Wine apps. If you don't do this the removed apps will still be listed in your desktop menus even though they are no longer installed.

I use playonlinux to help with Wine. It makes it easier and it allows each program you install to be in it's own little separate virtual Windows drive. So if you have this problem again you just delete that programs directory instead of all of your Wine stuff.

| improve this answer | |

I have a script with the following entries that I run to remove all wine related in my home directory:

rm -Rf $HOME/.wine*
rm -f  $HOME/.local/share/mime/packages/x-wine-e*
rm -f  $HOME/.local/share/mime/application/x-wine-*
rm -f  $HOME/.local/share/icons/hicolor/*/apps/application-x-wine-*
rm -f  $HOME/.local/share/applications/wine-*
rm -f  $HOME/.local/share/desktop-directories/wine-*
rm -f  $HOME/.local/share/icons/hicolor/*/apps/7765_*
rm -f /home/cctsim/.config/menus/applications-merged/wine-*

Some entries are due to Office installations and may not always apply. As always use rm -Rf with extra care.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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