+3 votes
3.7k views
How to uninstall Wine in Ubuntu 20.04

in Linux / Unix by (551k points)
reopened | 3.7k views

1 Answer

+4 votes
Best answer

Completely uninstall Wine on Ubuntu 20.04

If you have heard about Wine (Wine Is Not an Emulator), it is because you are certainly a Linux user who needs for some reason to run a Windows program on Linux there in the distribution, we know that this is not possible because the Windows file system (NTFS) is totally incompatible with Linux (ext4), but thanks to Wine a compatibility layer is created to run Windows applications (.exe) without any problem.

Although Wine is one of the most comprehensive solutions for this type of execution tasks, the time may come when it is no longer necessary to use it on Linux, in this case Wine on Ubuntu 20.04 , it is for this reason that TechnoWikis will It will explain the process to uninstall Wine completely from Ubuntu 20.04.

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

Completely uninstall Wine on Ubuntu 20.04

Step 1


To carry out this process, we access the terminal and check the current version of Wine installed:

 wine -version 

image

Step 2


The next step will be to install (if we do not have it yet) Winetricks, Winetricks is a script with which it is possible to download and install various redistributable runtime libraries which allow the execution of some programs in Wine, for their installation we open the Center Ubuntu Software and in the search engine we enter "winetricks", we will see the result:

image

Step 3


We click on "Install" to complete the process:

image

Step 4


Once installed we will see the following:

image

Step 5


Now we go to Activities and from there we look for Winetricks:

image

Step 6


When we open it we will see the following message:

image

Step 7


We click on accept and the following window will be displayed:

image

Step 8


There we activate the box "Select the default wineprefix" and click OK, we will see the following message:

image

Step 9


This indicates whether or not we want to send the Winetricks usage statistics, we decide whether or not to do so and then the following will be displayed:

image

Step 10


There we must activate the box "Delete ALL DATA AND APPLICATIONS INSIDE THIS WINEPREFIX" and click OK. This takes care of deleting all Wine related objects:

image

Step 11


In the pop-up window we confirm the action by clicking Yes. After this we access the terminal and there we will execute the following command:

 sudo apt-get remove --autoremove wine-stable wine-stable-amd64 

image

Step 12


We click Yes to continue and finally we will see this:

image

Step 13


Now we update the system:

 sudo apt update 

image

Step 14


We execute cleaning tasks for the excess files:

 sudo apt clean && sudo apt autoclean 

image

Step 15


Now we remove packages that are normally loose when an application is uninstalled in Ubuntu 20.04:

 sudo apt remove && sudo apt autoremove 

image

Step 16


With these steps we can verify that Wine has been uninstalled from Ubuntu 20.04 by executing the following.
In some cases, it is indicated that the Wine path was not found, which indicates that Wine is already available.

image

We have seen with these steps the functional way to uninstall Wine in Ubuntu 20.04.


by (3.5m points)
edited by
Thanks!!! Very clear, and makes win a lot of time!! It worked for me.
Fantastic instructions,very happy with the step-by-step guidelines too with every command
Thank you very much
Worked like a charm except for this command:
 sudo apt-get remove --autoremove wine-stable wine-stable-amd64
This worked:
sudo apt remove --purge wine
This is THE method that worked. Thank you so much!
Thank you! I'm using Ubuntu 21.10 but this still works perfectly (as far as I can see :D )!
excluding blabber ,pure guide,thank you very much..!

Related questions

+4 votes
1 answer
asked Feb 13, 2020 in Linux / Unix by backtothefuture (551k points) | 13.8k views
+4 votes
1 answer
asked Sep 30, 2020 in Linux / Unix by backtothefuture (551k points) | 559 views
+5 votes
1 answer
asked Sep 21, 2020 in Linux / Unix by backtothefuture (551k points) | 720 views
+3 votes
1 answer
asked Nov 6, 2020 in Linux / Unix by backtothefuture (551k points) | 756 views
+4 votes
1 answer
asked Oct 25, 2019 in Linux / Unix by backtothefuture (551k points) | 336 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,632 questions
10,764 answers
510 comments
3 users