How to remove wine-1.7.34 completely

41,650

Solution 1

For me, wine was installed as multiple packages with different versions - for example wine1.4 or wine1.4-i386.

To remove all of them, I simply typed sudo apt-get purge wine and then pressed TAB to display all installed packages with name starting with 'wine' and removed all of them. Of course, sudo apt-get autoremove was necessary at the end to clean unneeded pacakges.

Note: Be careful with sudo apt-get purge wine*, it can remove more than you really want! - see this question for more info.

Solution 2

Try this :

sudo apt-get purge wine*

This will remove every single package related to wine. This is probably because there are more than one package for wine in the repositories.

Share:
41,650

Related videos on Youtube

bjdcxvab
Author by

bjdcxvab

Updated on September 18, 2022

Comments

  • bjdcxvab
    bjdcxvab over 1 year

    I have tried a lot of different commands, but nothing helped.

        sudo apt-get remove wine --purge
        sudo apt-get --purge remove wine
        sudo apt-get auto remove
    

    Wine is still available. Wine version is wine-1.7.34. Please help, how can I remove wine completely including installed windows programs and winetricks.

    • A.B.
      A.B. over 8 years
      Edit your question and add the output of apt-cache policy wine and command -v wine
    • iamgr007
      iamgr007 over 7 years
      autoremove has done the trick for me
  • bjdcxvab
    bjdcxvab about 9 years
    doesn't work I have already tried
  • Eliah Kagan
    Eliah Kagan over 6 years
    Don't do this! See Why does apt removes unwanted packages when giving * as suffix? The purge or remove action with an argument like wine*, wine\*, or 'wine*' removes way more than you might think. It removes every package with win anywhere in its name (not wine, win--as wine* is treated as a regex and e* means "zero or more es") and every package that depends directly or indirectly on any of those packages. This often breaks an Ubuntu system very badly, preventing it from being used for much of anything until it is fixed or reinstalled.
  • Samuel
    Samuel over 6 years
    You saved My day(or night)!! thanks , I was looking for this everywhere bro!!