To thoroughly purge and uninstall Wine from Debian, start by opening up a terminal window on the Debian desktop. Do this by pressing Ctrl + Alt + T on the keyboard or search for “Terminal” in the app menu. Next, use the rm command to delete your Wine folder from your home directory with the terminal window open. This folder holds all Wine-related apps.
rm -rf ~/.Wine
Next, use the apt-get remove command to uninstall the Wine app and any Wine-related programs on Debian. Finally, be sure to use the –purge command-line switch, as this will also erase any configuration files that happen to be on the system.
sudo apt-get remove wine* --purge
When everything is uninstalled from Debian, you’ll also need to use the autoremove command to get rid of any remaining Wine packages that might still be there.
sudo apt-get autoremove -y
Now that the autoremove command is complete, Wine will be purged from Debian.