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 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
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
up vote -2 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
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
This crashed my 12.04.1 installation – keepitsimpleengineer Feb 7 '13 at 19:27
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
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

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
That's should be marked as answer, because it will remove everything including wine ppa. So you can start from scratch, – Heihachi Jan 11 '15 at 7:18

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

Just do:

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

protected by Community Jun 22 '13 at 16:28

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

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.