1

I'm a new user of ubuntu and have messed up my system because of lack of information.

Few days back i tried to install WINE WINDOWS PROGRAM LOADER v1.8 on my laptop but during the download my pc got shut down and after that any command releated to wine gives me an error.

Now all i want to do is to completely uninstall it and everthing releated to wine.

I'm using ubuntu 16.04 LTS

2 Answers2

1

The usual remove command would leave you their file associations that remain untouched by remove operation (for example .wine directory).

This situation would leave you wondering what went wrong. If you want a complete uninstall, execute the following commands in Terminal one-by-one:

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

Followed by purge command:

sudo apt remove --purge wine

Again run the following commands to correct any installation error.

sudo apt update
sudo apt autoclean
sudo apt clean
sudo apt autoremove

Source:

Completely remove wine linux Ubuntu systems

https://askubuntu.com/a/126745/253251

Liso
  • 15,377
  • 3
  • 51
  • 80
0

Try the following:

  1. Open Terminal (ctrl+alt+t)
  2. Enter the command sudo apt remove wine --purge

If the command from step 2 doesn't work use two dashes before 'purge'

Liso
  • 15,377
  • 3
  • 51
  • 80
cheesits456
  • 1,282