Take the 2-minute tour ×

I uninstalled Wine 1.7 by apt-get remove wine1.7. But I found the programs I installed in .wine can still run. How can I uninstall them?

share|improve this question
add comment

1 Answer

up vote -1 down vote accepted

Open a terminal and type the following commands

sudo apt-get remove wine --purge

Next, we clean the context menu, menu entries, etc:

rm -rf $HOME/.wine
rm -f $HOME/.config/menus/applications-merged/*wine*
rm -f $HOME/.local/share/desktop-directories/*wine*
rm -f $HOME/.local/share/icons/*wine*

Now restart the system using:

sudo reboot
share|improve this answer
After I typed"sudo apt-get remove wine --purge"in a terminal,"...is not installed,so not removed" –  msy Jan 19 at 10:54
I don't think it's sufficient to purge the wine package itself, it's just a metapackage. As for the rm commands, that is a solution...to a different problem from the one here. Here, the issue isn't that Wine config or Windows files are present. It's that the core Wine executable and supporting files still exist and Wine actually runs! Finally note that rm with -r/-R on a path that starts with $HOME or ~, if entered with a 1-character typo, deletes the user's home folder! So a warning (or different way of doing it) is in order. –  Eliah Kagan Jan 19 at 11:14
Thank you very much. –  msy Jan 20 at 2:49
add comment

Your Answer


