One of the disgusting places in wine is that you uninstalled wine, but the wine program shortcuts you've installed remain in your main menu, too, and now teach you how to erase wine completely:
1. Uninstall the wine main program and enter it in the terminal:
sudo apt-get remove--purge wine
2. Then delete the wine directory file:
Rm-r ~/.wine
3. Uninstall the remaining unused packages:
sudo apt-get autoremove
But after we've uninstalled some Windows programs with wine, there are still icons in the "apps"-"Other" menu, and we can completely erase them in the following ways:
1. Delete the relevant files or directories under ~/.local/share/applications/.
Rm-r ~/.local/share/applications
2. Delete the relevant files within the ~/.config/menus/applications-merged/.
Rm-r ~/.config/menus/applications-merged/wine*
Ubuntu removes wine and leftover shortcuts completely