How to install and completely remove Wine?



If you are following Ubuntu, you must be Wine familiar with Wine. Wine is an application that allows you to run Windows-based programs in Ubuntu. You install Wine by executing the following command in the Terminal (Applications -> Accessories -> Terminal).

sudo apt-get install wine

Now, you need to install the Windows-only application that you wish to use. Go to Appliactions -> Wine -> Configure Wine, and install the application. A simpler approach will be to just click on the Windows installer of the application. It will be installed inside Wine and a can be accessed under Applications -> Wine. To uninstall, use the Uninstall Wine Software option or do it from Configure Wine option.

Completely removing Wine: In case you want to completely remove Wine, the ususal uninstall command would leave you wondering what went wrong. It will uninstall Wine but leave the folders under the Applications menu. If you want a complete uninstall, execute the following commands in Terminal in the following order.

sudo apt-get remove wine
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

PS: This is the sixth in a series on switching to Ubuntu from Windows, for non-geeks. At the end of the Ubuntu series, you will be a proud owner of a fantastic Linux system.

Ubuntu series:
Part1: Easy guide to getting started with Ubuntu
Part2: Dual-boot Ubuntu and Windows with common storage drives
Part3: Make Ubuntu mount partitions and drives automatically at startup
Part4: Activating restricted music formats, Java and Flash on Ubuntu
Part5: Installing some basic applications on your Ubuntu system
Part6: How to install and completely remove Wine?
Part7: Easily tweak Ubuntu with Ubuntu Tweak
Part8: Tasque manages to-do list locally or integrates with Remember The Milk
Part9: AllTray: Dock every application in tray
Part10: Install a Web server on Ubuntu home computer

Labels:  , ,

Author: Nyutech

Date: Wednesday, March 11, 2009

22 comments | Leave a comment

22 Responses to "How to install and completely remove Wine?"

Anonymous  (December 1, 2010 3:03 PM)
Thank you for this post; it was really helpful. Question: some applications worked well under 'wine' (Photoshop was one) but others like a 2004 version of Dreamweaver MX claim that it cannot find gearsec.exe
Do you have an idea why is this happened and/or if I'm missing something else? BTW, the reason I wanted to remove wine completely is because QuickTimes kept reappearing after the 'normal' removal and another post suggested that it was QuickTimes what created that problem. Thanks in advance. Gustavo
grearte [at] yahoo [dot] com
Generic Viagra  (December 9, 2010 6:39 AM)
Hi, I'm a programmer student, this is my first year in this career, I want to know something, if the most of the server are based in Linux, why in the college don't teach us to use this and not only Windows?
Since1985  (December 27, 2010 12:02 PM)
i tried to do this, but it didn't seem to work. then, after restarting, it seems my home folder has been cleared. wtf
Paradise  (January 25, 2011 7:42 PM)
I did this and got wine removed completely. But at the same time all of my documents got deleted. There is nothing inside home/documents..home/pictures..and so on..... I used the code given above. Someone help me.
Keanu Smith  (February 1, 2011 9:32 PM)
This is a nice post shared here. Great article and thanks for sharing this post.

buy kamagra
james2011  (March 24, 2011 10:19 PM)
Thanks a lot for this great contribution I like it so much keep posting and updating the blog.
Generic Viagra
Chris Suja  (June 23, 2011 5:10 AM)
I think its a pretty good idea not that there aren't other sites out there that already do something similar but I think it might catch on here pretty well.
Buy Simvastatin online
Chris Suja  (June 23, 2011 5:12 AM)
I really loved reading your blog. It was very well authored and easy to understand. I also found your entries very interesting.
Bra On Sale
Joshua  (August 2, 2011 5:34 AM)
thanks for the info.. i have been trying to install it on my computer.. but dont know.. always shows some error.. now i will try for something else.. thanks...

order generic viagra
buy vicodin online  (August 22, 2011 11:41 AM)
If you need more traffic to your website check out the website in my name. It really helped me and i think it can help your website.
buy vicodin online
buy codeine online  (August 24, 2011 2:19 PM)
Superb work! The data supplied was very useful. I hope that you maintain the good work accomplished.
buy codeine online
Chris Suja  (August 26, 2011 6:02 AM)
Thanks for not only taking the time to write this, but to even improve the information by Online Pharmacy making it easy to read and understand.
jenifer  (August 26, 2011 12:50 PM)
buy xanax onlineI recently came across your blog and have been reading along. I think I will leave my first comment.
jenifer  (August 26, 2011 12:54 PM)
Really great work,I would like to join your blog anyway so please continue sharing with us,buy xanax online
john  (September 7, 2011 8:31 AM)
You made some good points .I did a little research on the topic and found that most people agree with your blog. Thanks.
buy ritalin online
jesonsmith  (September 26, 2011 8:59 AM)
Thanks for sharing such an article where education of people matters the most.Your way of expressing articles through words is excellent.

generic viagra
jamesfrac  (September 28, 2011 9:56 PM)
That is very good comment you shared.Thank you so much that for you shared those things with us.Im wishing you to carry on with ur achivments.All the best.Lingerie
suzan  (October 11, 2011 3:50 AM)
Thanks for your post, I like this post very much.

http://www.angelslimoservice.com
mark  (October 13, 2011 3:55 PM)
Thanks to a brilliant effort in publishing your article. One can be more informative as this. There are many things I can know only after reading your wonderful article.drug discussion
drug discussion forum
drug forum
vi da  (October 21, 2011 7:28 PM)
Completely removing Wine can be harder than just removing it from the Synaptic package manager. You can even delete the hidden .wine folder in your home directory and still have Wine configuration files left behind. So in case you want to completely remove Wine, simply copy and paste the following in the terminal. It will uninstall Wine and remove it from the menu as well.
Alik  (November 9, 2011 11:51 PM)
although I have no expert, but I want have to know more and more, on your blog just interesting and useful information.
order levitra

Post a Comment