Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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 -rf $HOME/.local/share/applications/wine
rm -f $HOME/.local/share/desktop-directories/*wine*
rm -f $HOME/.local/share/icons/????_*.xpm
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," not installed,so not removed" – msy Jan 19 '14 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 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 '14 at 11:14
Thank you very much. – msy Jan 20 '14 at 2:49


sudo apt-get install ppa-purge

sudo ppa-purge ppa:wine/wine-builds


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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