I recently used wine in Ubuntu 16.04
for gaming purpose but It seemed to me that minute viruses attacked on my laptop through wine, so I am using these below commands
sudo apt-get --purge wine
sudo apt-get --purge remove wine
but when I do wine --version
after executing above cmds terminal shows installed wine version
So do type this in terminal for removing wine completely
dpkg -l | grep wine | awk '{print $2}' | xargs sudo apt-get purge -s
but if this will not work then replace -s with -y
rm -rf ~/.wine
to remove all of your wine data.