How to remove wine completely












51















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.










share|improve this question

























  • askubuntu.com/a/21683

    – DeveloperACE
    Oct 17 '18 at 16:15
















51















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.










share|improve this question

























  • askubuntu.com/a/21683

    – DeveloperACE
    Oct 17 '18 at 16:15














51












51








51


14






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.










share|improve this question
















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.







package-management wine






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 25 '11 at 17:08









belacqua

15.7k1473103




15.7k1473103










asked Nov 30 '10 at 16:09







peter




















  • askubuntu.com/a/21683

    – DeveloperACE
    Oct 17 '18 at 16:15



















  • askubuntu.com/a/21683

    – DeveloperACE
    Oct 17 '18 at 16:15

















askubuntu.com/a/21683

– DeveloperACE
Oct 17 '18 at 16:15





askubuntu.com/a/21683

– DeveloperACE
Oct 17 '18 at 16:15










10 Answers
10






active

oldest

votes


















61














In my case Wine did not get effectively uninstalled using the command:



sudo apt-get --purge remove wine


So I did the following (make sure to copy the exact commands):



cd $HOME
rm -r .wine
rm .config/menus/applications-merged/wine*
rm -r .local/share/applications/wine
rm .local/share/desktop-directories/wine*
rm .local/share/icons/????_*.xpm


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 the f option, i.e. rm -f and rm -rf instead of the above... but be the heck careful that you've actually typed the right paths!



After deleting the files run command:



sudo apt-get remove --purge wine


Do the following to correct any installation error.



sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove





share|improve this answer





















  • 12





    NOTE: there are no spaces in the rm -rf lines. Accidentally adding one could nuke your home folder without prompt.

    – user1717828
    Jun 23 '16 at 13:15






  • 1





    This is terribly dangerous and mostly unnecessary.,

    – Braiam
    Jun 23 '16 at 15:53






  • 2





    @user1717828 Adding cd $HOME and running all the commands with relative paths may avoid another accident.

    – Ismael Miguel
    Jun 24 '16 at 13:10






  • 2





    pagal pila, the suggestion of @IsmaelMiguel is sound: please consider cd $HOME; and then the rms with relative paths.

    – Rmano
    Jun 28 '16 at 19:22



















13














Run these to get rid of menu entries instead of (or in addition to) using "Edit Menus".



rm $HOME/.config/menus/applications-merged/wine*
rm -r $HOME/.local/share/applications/wine
rm $HOME/.local/share/desktop-directories/wine*





share|improve this answer
























  • This was the right solution for me, thanks!

    – mydoghasworms
    Dec 15 '11 at 7:05



















7














In 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.




alt text




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 typing rm -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.






share|improve this answer


























  • I don't think it's wise to include the -f (force) option in the rm command. rm -r ~/.wine is much safer than an answer of "yes" on all warnings, because you can't be sure that "yes" will always be the best thing to do.

    – Firefeather
    Nov 30 '10 at 16:33






  • 1





    in this case it would be safe, he's just removing his wine folder.

    – RolandiXor
    Nov 30 '10 at 16:50











  • Before proceeding with this sort of command, make sure everything is alright. For any mistake, you can delete all fo your data

    – user
    Apr 17 '11 at 2:32











  • @cruciiedsoul: thanks for the unnecessary warnings on every answer of mine that you can fin. it's rather useless, but thanks anyway.

    – RolandiXor
    Apr 17 '11 at 12:50











  • @Firefeather: The answer below points to wiki.winehq.org/FAQ#uninstall_app which also does rm -rf. Personally I do that everywhere where I know I can safely delete an entire directory and subdirectories. But that is deviating from this question, I guess :-)

    – mydoghasworms
    Dec 15 '11 at 5:46



















5














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:



sudo apt-get remove wine --purge


If you've installed wine from their official PPA:



sudo apt-get remove wine-1.3 --purge


Next, clean the context menu, menu entries, etc:



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/*wine*


It needs to reboot the system:



sudo reboot





share|improve this answer


























  • The command rm -f $HOME/.local/share/icons/????_*.xpm is a bad idea, it removes ALL icons which do not have to be wine ones.

    – Lekensteyn
    Dec 15 '11 at 18:26











  • Thanks for the correction Lekensteyn, is needed to delete manualy the icons ins this format "????_" to match with "wine". Sorry for my bad english, i learning it.

    – edgerch
    Dec 15 '11 at 18:49











  • ? matches a single character. If you want to match wine, just use rm -f $HOME/.local/share/icons/wine_*.xpm. But the latter command already matches any filename with "wine" in it, so it's obsolete.

    – Lekensteyn
    Dec 15 '11 at 19:00











  • You don't need to reboot the system silly, you can simply do sudo apt-get update.

    – TheCodingKlam
    Aug 18 '16 at 3:05



















3














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.






share|improve this answer































    2














    If apt-get --purge autoremove wine does not do it, maybe your package goes otherwise, like wine1.6-dev. Try that that one.






    share|improve this answer

































      0














      I tried the sudo apt-get remove --purge wine .
      After this I had to give sudo apt-get autoremove
      In my case it solved the problem. Also have a look at this to remove all the ms core fonts.






      share|improve this answer

































        0














        Go to software manager. You will still find wine related packages installed. Remove them. This really works to remove wine from the menu.






        share|improve this answer































          0














          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 as sudo apt-get remove winehq-stable Or sudo 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 do sudo apt-get update then sudo apt-get upgrade
          5- it will ask you to do sudo 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 too






          share|improve this answer
























          • Also if you have play on linux or wine tricks you must remove it first

            – Bassem
            Jan 16 at 18:25



















          -1














          I've had a similar problem but after doing



          apt-get autoremove wine 


          it worked






          share|improve this answer
























            protected by Community Aug 25 '17 at 11:57



            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?













            10 Answers
            10






            active

            oldest

            votes








            10 Answers
            10






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            61














            In my case Wine did not get effectively uninstalled using the command:



            sudo apt-get --purge remove wine


            So I did the following (make sure to copy the exact commands):



            cd $HOME
            rm -r .wine
            rm .config/menus/applications-merged/wine*
            rm -r .local/share/applications/wine
            rm .local/share/desktop-directories/wine*
            rm .local/share/icons/????_*.xpm


            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 the f option, i.e. rm -f and rm -rf instead of the above... but be the heck careful that you've actually typed the right paths!



            After deleting the files run command:



            sudo apt-get remove --purge wine


            Do the following to correct any installation error.



            sudo apt-get update
            sudo apt-get autoclean
            sudo apt-get clean
            sudo apt-get autoremove





            share|improve this answer





















            • 12





              NOTE: there are no spaces in the rm -rf lines. Accidentally adding one could nuke your home folder without prompt.

              – user1717828
              Jun 23 '16 at 13:15






            • 1





              This is terribly dangerous and mostly unnecessary.,

              – Braiam
              Jun 23 '16 at 15:53






            • 2





              @user1717828 Adding cd $HOME and running all the commands with relative paths may avoid another accident.

              – Ismael Miguel
              Jun 24 '16 at 13:10






            • 2





              pagal pila, the suggestion of @IsmaelMiguel is sound: please consider cd $HOME; and then the rms with relative paths.

              – Rmano
              Jun 28 '16 at 19:22
















            61














            In my case Wine did not get effectively uninstalled using the command:



            sudo apt-get --purge remove wine


            So I did the following (make sure to copy the exact commands):



            cd $HOME
            rm -r .wine
            rm .config/menus/applications-merged/wine*
            rm -r .local/share/applications/wine
            rm .local/share/desktop-directories/wine*
            rm .local/share/icons/????_*.xpm


            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 the f option, i.e. rm -f and rm -rf instead of the above... but be the heck careful that you've actually typed the right paths!



            After deleting the files run command:



            sudo apt-get remove --purge wine


            Do the following to correct any installation error.



            sudo apt-get update
            sudo apt-get autoclean
            sudo apt-get clean
            sudo apt-get autoremove





            share|improve this answer





















            • 12





              NOTE: there are no spaces in the rm -rf lines. Accidentally adding one could nuke your home folder without prompt.

              – user1717828
              Jun 23 '16 at 13:15






            • 1





              This is terribly dangerous and mostly unnecessary.,

              – Braiam
              Jun 23 '16 at 15:53






            • 2





              @user1717828 Adding cd $HOME and running all the commands with relative paths may avoid another accident.

              – Ismael Miguel
              Jun 24 '16 at 13:10






            • 2





              pagal pila, the suggestion of @IsmaelMiguel is sound: please consider cd $HOME; and then the rms with relative paths.

              – Rmano
              Jun 28 '16 at 19:22














            61












            61








            61







            In my case Wine did not get effectively uninstalled using the command:



            sudo apt-get --purge remove wine


            So I did the following (make sure to copy the exact commands):



            cd $HOME
            rm -r .wine
            rm .config/menus/applications-merged/wine*
            rm -r .local/share/applications/wine
            rm .local/share/desktop-directories/wine*
            rm .local/share/icons/????_*.xpm


            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 the f option, i.e. rm -f and rm -rf instead of the above... but be the heck careful that you've actually typed the right paths!



            After deleting the files run command:



            sudo apt-get remove --purge wine


            Do the following to correct any installation error.



            sudo apt-get update
            sudo apt-get autoclean
            sudo apt-get clean
            sudo apt-get autoremove





            share|improve this answer















            In my case Wine did not get effectively uninstalled using the command:



            sudo apt-get --purge remove wine


            So I did the following (make sure to copy the exact commands):



            cd $HOME
            rm -r .wine
            rm .config/menus/applications-merged/wine*
            rm -r .local/share/applications/wine
            rm .local/share/desktop-directories/wine*
            rm .local/share/icons/????_*.xpm


            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 the f option, i.e. rm -f and rm -rf instead of the above... but be the heck careful that you've actually typed the right paths!



            After deleting the files run command:



            sudo apt-get remove --purge wine


            Do the following to correct any installation error.



            sudo apt-get update
            sudo apt-get autoclean
            sudo apt-get clean
            sudo apt-get autoremove






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Feb 11 '18 at 23:39









            Neinstein

            1035




            1035










            answered Apr 28 '12 at 5:34









            pagal pilapagal pila

            61952




            61952








            • 12





              NOTE: there are no spaces in the rm -rf lines. Accidentally adding one could nuke your home folder without prompt.

              – user1717828
              Jun 23 '16 at 13:15






            • 1





              This is terribly dangerous and mostly unnecessary.,

              – Braiam
              Jun 23 '16 at 15:53






            • 2





              @user1717828 Adding cd $HOME and running all the commands with relative paths may avoid another accident.

              – Ismael Miguel
              Jun 24 '16 at 13:10






            • 2





              pagal pila, the suggestion of @IsmaelMiguel is sound: please consider cd $HOME; and then the rms with relative paths.

              – Rmano
              Jun 28 '16 at 19:22














            • 12





              NOTE: there are no spaces in the rm -rf lines. Accidentally adding one could nuke your home folder without prompt.

              – user1717828
              Jun 23 '16 at 13:15






            • 1





              This is terribly dangerous and mostly unnecessary.,

              – Braiam
              Jun 23 '16 at 15:53






            • 2





              @user1717828 Adding cd $HOME and running all the commands with relative paths may avoid another accident.

              – Ismael Miguel
              Jun 24 '16 at 13:10






            • 2





              pagal pila, the suggestion of @IsmaelMiguel is sound: please consider cd $HOME; and then the rms with relative paths.

              – Rmano
              Jun 28 '16 at 19:22








            12




            12





            NOTE: there are no spaces in the rm -rf lines. Accidentally adding one could nuke your home folder without prompt.

            – user1717828
            Jun 23 '16 at 13:15





            NOTE: there are no spaces in the rm -rf lines. Accidentally adding one could nuke your home folder without prompt.

            – user1717828
            Jun 23 '16 at 13:15




            1




            1





            This is terribly dangerous and mostly unnecessary.,

            – Braiam
            Jun 23 '16 at 15:53





            This is terribly dangerous and mostly unnecessary.,

            – Braiam
            Jun 23 '16 at 15:53




            2




            2





            @user1717828 Adding cd $HOME and running all the commands with relative paths may avoid another accident.

            – Ismael Miguel
            Jun 24 '16 at 13:10





            @user1717828 Adding cd $HOME and running all the commands with relative paths may avoid another accident.

            – Ismael Miguel
            Jun 24 '16 at 13:10




            2




            2





            pagal pila, the suggestion of @IsmaelMiguel is sound: please consider cd $HOME; and then the rms with relative paths.

            – Rmano
            Jun 28 '16 at 19:22





            pagal pila, the suggestion of @IsmaelMiguel is sound: please consider cd $HOME; and then the rms with relative paths.

            – Rmano
            Jun 28 '16 at 19:22













            13














            Run these to get rid of menu entries instead of (or in addition to) using "Edit Menus".



            rm $HOME/.config/menus/applications-merged/wine*
            rm -r $HOME/.local/share/applications/wine
            rm $HOME/.local/share/desktop-directories/wine*





            share|improve this answer
























            • This was the right solution for me, thanks!

              – mydoghasworms
              Dec 15 '11 at 7:05
















            13














            Run these to get rid of menu entries instead of (or in addition to) using "Edit Menus".



            rm $HOME/.config/menus/applications-merged/wine*
            rm -r $HOME/.local/share/applications/wine
            rm $HOME/.local/share/desktop-directories/wine*





            share|improve this answer
























            • This was the right solution for me, thanks!

              – mydoghasworms
              Dec 15 '11 at 7:05














            13












            13








            13







            Run these to get rid of menu entries instead of (or in addition to) using "Edit Menus".



            rm $HOME/.config/menus/applications-merged/wine*
            rm -r $HOME/.local/share/applications/wine
            rm $HOME/.local/share/desktop-directories/wine*





            share|improve this answer













            Run these to get rid of menu entries instead of (or in addition to) using "Edit Menus".



            rm $HOME/.config/menus/applications-merged/wine*
            rm -r $HOME/.local/share/applications/wine
            rm $HOME/.local/share/desktop-directories/wine*






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 30 '10 at 18:31









            jamesadneyjamesadney

            729416




            729416













            • This was the right solution for me, thanks!

              – mydoghasworms
              Dec 15 '11 at 7:05



















            • This was the right solution for me, thanks!

              – mydoghasworms
              Dec 15 '11 at 7:05

















            This was the right solution for me, thanks!

            – mydoghasworms
            Dec 15 '11 at 7:05





            This was the right solution for me, thanks!

            – mydoghasworms
            Dec 15 '11 at 7:05











            7














            In 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.




            alt text




            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 typing rm -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.






            share|improve this answer


























            • I don't think it's wise to include the -f (force) option in the rm command. rm -r ~/.wine is much safer than an answer of "yes" on all warnings, because you can't be sure that "yes" will always be the best thing to do.

              – Firefeather
              Nov 30 '10 at 16:33






            • 1





              in this case it would be safe, he's just removing his wine folder.

              – RolandiXor
              Nov 30 '10 at 16:50











            • Before proceeding with this sort of command, make sure everything is alright. For any mistake, you can delete all fo your data

              – user
              Apr 17 '11 at 2:32











            • @cruciiedsoul: thanks for the unnecessary warnings on every answer of mine that you can fin. it's rather useless, but thanks anyway.

              – RolandiXor
              Apr 17 '11 at 12:50











            • @Firefeather: The answer below points to wiki.winehq.org/FAQ#uninstall_app which also does rm -rf. Personally I do that everywhere where I know I can safely delete an entire directory and subdirectories. But that is deviating from this question, I guess :-)

              – mydoghasworms
              Dec 15 '11 at 5:46
















            7














            In 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.




            alt text




            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 typing rm -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.






            share|improve this answer


























            • I don't think it's wise to include the -f (force) option in the rm command. rm -r ~/.wine is much safer than an answer of "yes" on all warnings, because you can't be sure that "yes" will always be the best thing to do.

              – Firefeather
              Nov 30 '10 at 16:33






            • 1





              in this case it would be safe, he's just removing his wine folder.

              – RolandiXor
              Nov 30 '10 at 16:50











            • Before proceeding with this sort of command, make sure everything is alright. For any mistake, you can delete all fo your data

              – user
              Apr 17 '11 at 2:32











            • @cruciiedsoul: thanks for the unnecessary warnings on every answer of mine that you can fin. it's rather useless, but thanks anyway.

              – RolandiXor
              Apr 17 '11 at 12:50











            • @Firefeather: The answer below points to wiki.winehq.org/FAQ#uninstall_app which also does rm -rf. Personally I do that everywhere where I know I can safely delete an entire directory and subdirectories. But that is deviating from this question, I guess :-)

              – mydoghasworms
              Dec 15 '11 at 5:46














            7












            7








            7







            In 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.




            alt text




            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 typing rm -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.






            share|improve this answer















            In 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.




            alt text




            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 typing rm -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.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Dec 15 '11 at 16:04

























            answered Nov 30 '10 at 16:15









            RolandiXorRolandiXor

            44.5k25140229




            44.5k25140229













            • I don't think it's wise to include the -f (force) option in the rm command. rm -r ~/.wine is much safer than an answer of "yes" on all warnings, because you can't be sure that "yes" will always be the best thing to do.

              – Firefeather
              Nov 30 '10 at 16:33






            • 1





              in this case it would be safe, he's just removing his wine folder.

              – RolandiXor
              Nov 30 '10 at 16:50











            • Before proceeding with this sort of command, make sure everything is alright. For any mistake, you can delete all fo your data

              – user
              Apr 17 '11 at 2:32











            • @cruciiedsoul: thanks for the unnecessary warnings on every answer of mine that you can fin. it's rather useless, but thanks anyway.

              – RolandiXor
              Apr 17 '11 at 12:50











            • @Firefeather: The answer below points to wiki.winehq.org/FAQ#uninstall_app which also does rm -rf. Personally I do that everywhere where I know I can safely delete an entire directory and subdirectories. But that is deviating from this question, I guess :-)

              – mydoghasworms
              Dec 15 '11 at 5:46



















            • I don't think it's wise to include the -f (force) option in the rm command. rm -r ~/.wine is much safer than an answer of "yes" on all warnings, because you can't be sure that "yes" will always be the best thing to do.

              – Firefeather
              Nov 30 '10 at 16:33






            • 1





              in this case it would be safe, he's just removing his wine folder.

              – RolandiXor
              Nov 30 '10 at 16:50











            • Before proceeding with this sort of command, make sure everything is alright. For any mistake, you can delete all fo your data

              – user
              Apr 17 '11 at 2:32











            • @cruciiedsoul: thanks for the unnecessary warnings on every answer of mine that you can fin. it's rather useless, but thanks anyway.

              – RolandiXor
              Apr 17 '11 at 12:50











            • @Firefeather: The answer below points to wiki.winehq.org/FAQ#uninstall_app which also does rm -rf. Personally I do that everywhere where I know I can safely delete an entire directory and subdirectories. But that is deviating from this question, I guess :-)

              – mydoghasworms
              Dec 15 '11 at 5:46

















            I don't think it's wise to include the -f (force) option in the rm command. rm -r ~/.wine is much safer than an answer of "yes" on all warnings, because you can't be sure that "yes" will always be the best thing to do.

            – Firefeather
            Nov 30 '10 at 16:33





            I don't think it's wise to include the -f (force) option in the rm command. rm -r ~/.wine is much safer than an answer of "yes" on all warnings, because you can't be sure that "yes" will always be the best thing to do.

            – Firefeather
            Nov 30 '10 at 16:33




            1




            1





            in this case it would be safe, he's just removing his wine folder.

            – RolandiXor
            Nov 30 '10 at 16:50





            in this case it would be safe, he's just removing his wine folder.

            – RolandiXor
            Nov 30 '10 at 16:50













            Before proceeding with this sort of command, make sure everything is alright. For any mistake, you can delete all fo your data

            – user
            Apr 17 '11 at 2:32





            Before proceeding with this sort of command, make sure everything is alright. For any mistake, you can delete all fo your data

            – user
            Apr 17 '11 at 2:32













            @cruciiedsoul: thanks for the unnecessary warnings on every answer of mine that you can fin. it's rather useless, but thanks anyway.

            – RolandiXor
            Apr 17 '11 at 12:50





            @cruciiedsoul: thanks for the unnecessary warnings on every answer of mine that you can fin. it's rather useless, but thanks anyway.

            – RolandiXor
            Apr 17 '11 at 12:50













            @Firefeather: The answer below points to wiki.winehq.org/FAQ#uninstall_app which also does rm -rf. Personally I do that everywhere where I know I can safely delete an entire directory and subdirectories. But that is deviating from this question, I guess :-)

            – mydoghasworms
            Dec 15 '11 at 5:46





            @Firefeather: The answer below points to wiki.winehq.org/FAQ#uninstall_app which also does rm -rf. Personally I do that everywhere where I know I can safely delete an entire directory and subdirectories. But that is deviating from this question, I guess :-)

            – mydoghasworms
            Dec 15 '11 at 5:46











            5














            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:



            sudo apt-get remove wine --purge


            If you've installed wine from their official PPA:



            sudo apt-get remove wine-1.3 --purge


            Next, clean the context menu, menu entries, etc:



            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/*wine*


            It needs to reboot the system:



            sudo reboot





            share|improve this answer


























            • The command rm -f $HOME/.local/share/icons/????_*.xpm is a bad idea, it removes ALL icons which do not have to be wine ones.

              – Lekensteyn
              Dec 15 '11 at 18:26











            • Thanks for the correction Lekensteyn, is needed to delete manualy the icons ins this format "????_" to match with "wine". Sorry for my bad english, i learning it.

              – edgerch
              Dec 15 '11 at 18:49











            • ? matches a single character. If you want to match wine, just use rm -f $HOME/.local/share/icons/wine_*.xpm. But the latter command already matches any filename with "wine" in it, so it's obsolete.

              – Lekensteyn
              Dec 15 '11 at 19:00











            • You don't need to reboot the system silly, you can simply do sudo apt-get update.

              – TheCodingKlam
              Aug 18 '16 at 3:05
















            5














            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:



            sudo apt-get remove wine --purge


            If you've installed wine from their official PPA:



            sudo apt-get remove wine-1.3 --purge


            Next, clean the context menu, menu entries, etc:



            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/*wine*


            It needs to reboot the system:



            sudo reboot





            share|improve this answer


























            • The command rm -f $HOME/.local/share/icons/????_*.xpm is a bad idea, it removes ALL icons which do not have to be wine ones.

              – Lekensteyn
              Dec 15 '11 at 18:26











            • Thanks for the correction Lekensteyn, is needed to delete manualy the icons ins this format "????_" to match with "wine". Sorry for my bad english, i learning it.

              – edgerch
              Dec 15 '11 at 18:49











            • ? matches a single character. If you want to match wine, just use rm -f $HOME/.local/share/icons/wine_*.xpm. But the latter command already matches any filename with "wine" in it, so it's obsolete.

              – Lekensteyn
              Dec 15 '11 at 19:00











            • You don't need to reboot the system silly, you can simply do sudo apt-get update.

              – TheCodingKlam
              Aug 18 '16 at 3:05














            5












            5








            5







            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:



            sudo apt-get remove wine --purge


            If you've installed wine from their official PPA:



            sudo apt-get remove wine-1.3 --purge


            Next, clean the context menu, menu entries, etc:



            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/*wine*


            It needs to reboot the system:



            sudo reboot





            share|improve this answer















            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:



            sudo apt-get remove wine --purge


            If you've installed wine from their official PPA:



            sudo apt-get remove wine-1.3 --purge


            Next, clean the context menu, menu entries, etc:



            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/*wine*


            It needs to reboot the system:



            sudo reboot






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 22 '18 at 10:17









            Community

            1




            1










            answered Dec 15 '11 at 18:15









            edgerchedgerch

            16925




            16925













            • The command rm -f $HOME/.local/share/icons/????_*.xpm is a bad idea, it removes ALL icons which do not have to be wine ones.

              – Lekensteyn
              Dec 15 '11 at 18:26











            • Thanks for the correction Lekensteyn, is needed to delete manualy the icons ins this format "????_" to match with "wine". Sorry for my bad english, i learning it.

              – edgerch
              Dec 15 '11 at 18:49











            • ? matches a single character. If you want to match wine, just use rm -f $HOME/.local/share/icons/wine_*.xpm. But the latter command already matches any filename with "wine" in it, so it's obsolete.

              – Lekensteyn
              Dec 15 '11 at 19:00











            • You don't need to reboot the system silly, you can simply do sudo apt-get update.

              – TheCodingKlam
              Aug 18 '16 at 3:05



















            • The command rm -f $HOME/.local/share/icons/????_*.xpm is a bad idea, it removes ALL icons which do not have to be wine ones.

              – Lekensteyn
              Dec 15 '11 at 18:26











            • Thanks for the correction Lekensteyn, is needed to delete manualy the icons ins this format "????_" to match with "wine". Sorry for my bad english, i learning it.

              – edgerch
              Dec 15 '11 at 18:49











            • ? matches a single character. If you want to match wine, just use rm -f $HOME/.local/share/icons/wine_*.xpm. But the latter command already matches any filename with "wine" in it, so it's obsolete.

              – Lekensteyn
              Dec 15 '11 at 19:00











            • You don't need to reboot the system silly, you can simply do sudo apt-get update.

              – TheCodingKlam
              Aug 18 '16 at 3:05

















            The command rm -f $HOME/.local/share/icons/????_*.xpm is a bad idea, it removes ALL icons which do not have to be wine ones.

            – Lekensteyn
            Dec 15 '11 at 18:26





            The command rm -f $HOME/.local/share/icons/????_*.xpm is a bad idea, it removes ALL icons which do not have to be wine ones.

            – Lekensteyn
            Dec 15 '11 at 18:26













            Thanks for the correction Lekensteyn, is needed to delete manualy the icons ins this format "????_" to match with "wine". Sorry for my bad english, i learning it.

            – edgerch
            Dec 15 '11 at 18:49





            Thanks for the correction Lekensteyn, is needed to delete manualy the icons ins this format "????_" to match with "wine". Sorry for my bad english, i learning it.

            – edgerch
            Dec 15 '11 at 18:49













            ? matches a single character. If you want to match wine, just use rm -f $HOME/.local/share/icons/wine_*.xpm. But the latter command already matches any filename with "wine" in it, so it's obsolete.

            – Lekensteyn
            Dec 15 '11 at 19:00





            ? matches a single character. If you want to match wine, just use rm -f $HOME/.local/share/icons/wine_*.xpm. But the latter command already matches any filename with "wine" in it, so it's obsolete.

            – Lekensteyn
            Dec 15 '11 at 19:00













            You don't need to reboot the system silly, you can simply do sudo apt-get update.

            – TheCodingKlam
            Aug 18 '16 at 3:05





            You don't need to reboot the system silly, you can simply do sudo apt-get update.

            – TheCodingKlam
            Aug 18 '16 at 3:05











            3














            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.






            share|improve this answer




























              3














              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.






              share|improve this answer


























                3












                3








                3







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 30 '10 at 23:56







                Dan Kegel






























                    2














                    If apt-get --purge autoremove wine does not do it, maybe your package goes otherwise, like wine1.6-dev. Try that that one.






                    share|improve this answer






























                      2














                      If apt-get --purge autoremove wine does not do it, maybe your package goes otherwise, like wine1.6-dev. Try that that one.






                      share|improve this answer




























                        2












                        2








                        2







                        If apt-get --purge autoremove wine does not do it, maybe your package goes otherwise, like wine1.6-dev. Try that that one.






                        share|improve this answer















                        If apt-get --purge autoremove wine does not do it, maybe your package goes otherwise, like wine1.6-dev. Try that that one.







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Nov 17 '17 at 18:02

























                        answered Nov 17 '17 at 15:51









                        BlauhirnBlauhirn

                        234111




                        234111























                            0














                            I tried the sudo apt-get remove --purge wine .
                            After this I had to give sudo apt-get autoremove
                            In my case it solved the problem. Also have a look at this to remove all the ms core fonts.






                            share|improve this answer






























                              0














                              I tried the sudo apt-get remove --purge wine .
                              After this I had to give sudo apt-get autoremove
                              In my case it solved the problem. Also have a look at this to remove all the ms core fonts.






                              share|improve this answer




























                                0












                                0








                                0







                                I tried the sudo apt-get remove --purge wine .
                                After this I had to give sudo apt-get autoremove
                                In my case it solved the problem. Also have a look at this to remove all the ms core fonts.






                                share|improve this answer















                                I tried the sudo apt-get remove --purge wine .
                                After this I had to give sudo apt-get autoremove
                                In my case it solved the problem. Also have a look at this to remove all the ms core fonts.







                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Apr 13 '17 at 12:23









                                Community

                                1




                                1










                                answered Sep 22 '13 at 0:14









                                ArjunArjun

                                1293




                                1293























                                    0














                                    Go to software manager. You will still find wine related packages installed. Remove them. This really works to remove wine from the menu.






                                    share|improve this answer




























                                      0














                                      Go to software manager. You will still find wine related packages installed. Remove them. This really works to remove wine from the menu.






                                      share|improve this answer


























                                        0












                                        0








                                        0







                                        Go to software manager. You will still find wine related packages installed. Remove them. This really works to remove wine from the menu.






                                        share|improve this answer













                                        Go to software manager. You will still find wine related packages installed. Remove them. This really works to remove wine from the menu.







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Dec 31 '14 at 18:36









                                        ChristopherChristopher

                                        11




                                        11























                                            0














                                            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 as sudo apt-get remove winehq-stable Or sudo 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 do sudo apt-get update then sudo apt-get upgrade
                                            5- it will ask you to do sudo 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 too






                                            share|improve this answer
























                                            • Also if you have play on linux or wine tricks you must remove it first

                                              – Bassem
                                              Jan 16 at 18:25
















                                            0














                                            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 as sudo apt-get remove winehq-stable Or sudo 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 do sudo apt-get update then sudo apt-get upgrade
                                            5- it will ask you to do sudo 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 too






                                            share|improve this answer
























                                            • Also if you have play on linux or wine tricks you must remove it first

                                              – Bassem
                                              Jan 16 at 18:25














                                            0












                                            0








                                            0







                                            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 as sudo apt-get remove winehq-stable Or sudo 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 do sudo apt-get update then sudo apt-get upgrade
                                            5- it will ask you to do sudo 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 too






                                            share|improve this answer













                                            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 as sudo apt-get remove winehq-stable Or sudo 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 do sudo apt-get update then sudo apt-get upgrade
                                            5- it will ask you to do sudo 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 too







                                            share|improve this answer












                                            share|improve this answer



                                            share|improve this answer










                                            answered Jan 16 at 16:16









                                            BassemBassem

                                            156212




                                            156212













                                            • Also if you have play on linux or wine tricks you must remove it first

                                              – Bassem
                                              Jan 16 at 18:25



















                                            • Also if you have play on linux or wine tricks you must remove it first

                                              – Bassem
                                              Jan 16 at 18:25

















                                            Also if you have play on linux or wine tricks you must remove it first

                                            – Bassem
                                            Jan 16 at 18:25





                                            Also if you have play on linux or wine tricks you must remove it first

                                            – Bassem
                                            Jan 16 at 18:25











                                            -1














                                            I've had a similar problem but after doing



                                            apt-get autoremove wine 


                                            it worked






                                            share|improve this answer






























                                              -1














                                              I've had a similar problem but after doing



                                              apt-get autoremove wine 


                                              it worked






                                              share|improve this answer




























                                                -1












                                                -1








                                                -1







                                                I've had a similar problem but after doing



                                                apt-get autoremove wine 


                                                it worked






                                                share|improve this answer















                                                I've had a similar problem but after doing



                                                apt-get autoremove wine 


                                                it worked







                                                share|improve this answer














                                                share|improve this answer



                                                share|improve this answer








                                                edited Dec 12 '13 at 4:41









                                                Avinash Raj

                                                51.5k41166215




                                                51.5k41166215










                                                answered Dec 12 '13 at 4:12









                                                user223894user223894

                                                62




                                                62

















                                                    protected by Community Aug 25 '17 at 11:57



                                                    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?



                                                    Popular posts from this blog

                                                    How did Captain America manage to do this?

                                                    迪纳利

                                                    南乌拉尔铁路局