How can I remove the wine folder and all the applications in that folder?
I've tried via synaptic but it keeps showing up in the application menu.
How can I remove the wine folder and all the applications in that folder?
I've tried via synaptic but it keeps showing up in the application menu.
In my case Wine did not get effectively uninstalled using the command:
So I did the following (make sure to copy the exact commands):
These commands delete files stored in hard disk that may lock uninstallation of wine. Quite possibly you will get some warnings about
rm: remove write-protected regular file
here. These can be enforced collectively by using thef
option, i.e.rm -f
andrm -rf
instead of the above... but be the heck careful that you've actually typed the right paths!After deleting the files run command:
Do the following to correct any installation error.
First answer is the easy form to get this, but it's incomplete, the complete code is:
If you've installed wine from the official Ubuntu repositories:
If you've installed wine from their official PPA:
Next, clean the context menu, menu entries, etc:
It needs to reboot the system:
Run these to get rid of menu entries instead of (or in addition to) using "Edit Menus".
I tried more ways from here and others but didn't work so i did the following and it worked if you installed it from Winehq site you just need to do 1- alt+Ctrl to open the terminal 2- Type in it
sudo apt-get remove winehq-devel
Note: if it said that not found try other winehq type to remove what you have install assudo apt-get remove winehq-stable
Orsudo apt-get remove winehq-staging
3- Type y mean yes to remove it, in the removing in will download some files and a new windows will appear just click tab from your keyboard to click on ok and then yes 4- when it finish dosudo apt-get update
thensudo apt-get upgrade
5- it will ask you to dosudo apt autoremove
you are done now You can reinstall it or do what you want to do now If you installed it by Ubuntu software you can remove it by using it tooIn 11.04 and below (GNOME Classic)
When you install wine, it creates a "wine" menu in your applications menu, and this menu is partly user specific. To remove the menu entries, right click on your menu and click edit menus.
Now open the menu editor and disable or remove the wine related entries. You can also remove the
/home/username/.wine
folder be either enabling hidden files in nautilus, or by opening a terminal and typingrm -rf ~/.wine
.11.04 and up (Unity Desktop).
You need to open the menu editor from the Dash by press alt+f2 and type
alacarte
. Click on the icon, and the menu editor will come up.Single command :
just change "winehq-stable" according to your condition ( either winehq-devel or winehq-staging) if above doesn't work.
note: this is for them who used winehq
Using some menu editors can cause trouble, as it hides rather than deletes the menu items - and they stay hidden if you reinstall the apps!
See http://wiki.winehq.org/FAQ#uninstall_app for tips on how to uninstall wine and/or all wine apps.
If
apt-get --purge autoremove wine
does not do it, maybe your package goes otherwise, likewine1.6-dev
. Try that that one.Go to software manager. You will still find wine related packages installed. Remove them. This really works to remove wine from the menu.
I tried the
sudo apt-get remove --purge wine
. After this I had to givesudo apt-get autoremove
In my case it solved the problem. Also have a look at this to remove all the ms core fonts.