I have remove WineHQ in via terminal completely and other WineHQ configuration. But, Ubuntu still identify .exe application, not likely never install WineHQ before.

How to remove all WineHQ programs, including icons, configuration, and the other objects that it cannot identify .exe app again? Because I'm afraid that it can spread the malware like Windows.


You can try wine uninstaller GUI

uninstaller is a GUI uninstaller for all setup programs that put an uninstall entry in the registry, e.g. InstallShield or the WISE installer. It's similar in function to "Add/Remove Programs" in Windows, except much simpler.


wine uninstaller

Reference: http://wiki.winehq.org/uninstaller


No you have not completely removed wine although you un-installed it.

Go through following steps to completely remove it:

  • Open terminal and execute these command to remove Wine with configuration file.

    sudo apt-get autoremove wine*
    sudo apt-get --purge remove wine*
    sudo apt-get autoremove
    sudo apt-get autoclean
  • Now finally execute following command to remove icons, and other files:

    sudo find / | grep -v '/var/cache/apt/archives' | grep wine | sudo xargs rm -r -f
  • That's it.. Once reboot your system if it still detect.

    sudo reboot
  • I have uninstall via "Synaptic Package Manager", including following via your terminal but it still same. – Daniel Yunus Sep 12 '13 at 17:20
  • Repeat it again, this time very precisely! And don't forget to execute 2nd point.. Restart your system.. :) – Saurav Kumar Sep 12 '13 at 17:22
  • You can simply pass --purge as an option to apt-get autoremove rather than running both autoremove, and then remove. – dobey Sep 12 '13 at 17:49
  • I was lack of confidence. I have try it and I think it also delete all Ubuntu configuration program, not only Wine, when I see via Terminal that I try your techniques. – Daniel Yunus Sep 13 '13 at 13:48
  • No it will never delete other Ubuntu files.. Until you do some mistake.. ;) Don't hesitate to run this.. Be confident this time. :P – Saurav Kumar Sep 13 '13 at 15:53

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.