Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Wine through the terminal using these commands:

sudo add-apt-repository ppa:ubuntu-wine/ppa

sudo apt-get update

sudo apt-get install wine1.5

I know that I've removed at least part of wine. I removed the .wine folder in my home folder and I managed to remove the repository via this command:

sudo apt-add-repository --remove ppa:ubuntu-wine/ppa

Now when I try to install wine 1.4 via Ubuntu software center, it tells me I must remove these items to install wine:

Microsoft windows compatibility layer (binary emulator and library) wine1.5

Microsoft windows compatibility layer (64-bit support) wine1.5-amd64

Microsoft windows compatibility layer (32-bit support) wine1.5-i386:i386

I've already tried this command:

sudo apt-get --purge remove wine

but it said that wine wasn't installed. Some assistance would be appreciated.

share|improve this question
1  
CAREFUL with that first answer " (Use this command:sudo apt-get purge wine backslash *) " It has erased most of my system files forcing me to backup my documents and reinstall Ubuntu... I Wish I had read the other users' warnings before doing something like that. –  user169362 Jun 22 '13 at 14:02
add comment

4 Answers 4

up vote -1 down vote accepted

Use this command:

sudo apt-get purge wine\*

be careful of this command as the use of * here defines the removal of everything related to wine.

share|improve this answer
1  
or apt-get remove wine* will remove everything that has to do with wine. –  Uri Herrera Aug 24 '12 at 21:24
    
Thanks. I also replaced remove with purge. –  systemovich Aug 24 '12 at 21:26
1  
This crashed my 12.04.1 installation –  keepitsimpleengineer Feb 7 '13 at 19:27
6  
This answer is dangerous and should not be used. apt-get interprets characters like * as symbols in a regular expression, not as shell-style wildcards. Therefore, apt-get remove wine* or apt-get remove wine\* (or with purge instead of remove) will remove every package that contains the text win anywhere in its name (not wine, win), and every package that depends directly or indirectly on such a package. This will severely break most Ubuntu systems. –  Eliah Kagan Apr 9 '13 at 18:19
1  
If this is dangerous then the Admin should remove it! I just entered the commnad and now I'm hoping nothing will crash. –  stupidity Nov 12 '13 at 18:13
show 3 more comments

You can use a the ppa-purge utility to remove any packages installed by a ppa and downgrade any packages that were upgraded by the ppa.

$ sudo apt-get install ppa-purge
$ sudo ppa-purge ppa:ubuntu-wine/ppa
share|improve this answer
add comment

I had the same problem and can't believe I didn't think of this faster. Use the following:

$ sudo apt-add-repository --remove ppa:ubuntu-wine/ppa
$ sudo apt-get --purge remove wine1.5

Just add the 1.5 and the end of wine =) worked for me.

share|improve this answer
    
Thanks. It works! –  chapagain Nov 27 '12 at 11:33
add comment

Just do:

sudo apt-get remove wine1.5
share|improve this answer
add comment

protected by Community Jun 22 '13 at 16:28

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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