2

I tried to remove wine from the terminal using :

apt-get remove wine

but wine still exists. How can I remove it completely?

harsh@harsh-BOOK:~$ sudo get-apt purge Q4Wine
[sudo] password for harsh: 
sudo: get-apt: command not found
harsh@harsh-BOOK:~$ sudo get-apt purge wine
sudo: get-apt: command not found
harsh@harsh-BOOK:~$ sudo rm wine
rm: cannot remove ‘wine’: No such file or directory
harsh@harsh-BOOK:~$ sudo rm q4wine
rm: cannot remove ‘q4wine’: No such file or directory
harsh@harsh-BOOK:~$ sudo rm winetricks
rm: cannot remove ‘winetricks’: No such file or directory
TheWanderer
  • 19,315
  • 12
  • 49
  • 65
harsh
  • 111
  • 2
  • 3
  • 9

3 Answers3

8

You used get-apt instead of apt-get.

rm is for removing files, not packages.

A.B.
  • 89,123
  • 21
  • 245
  • 323
bmclain
  • 133
  • 4
  • 1
    +1 for mentioning about `rm` – Ravan Dec 01 '15 at 16:54
  • i used all these commands in correct way. wine still exist. when i run wine its not open but those applications install by wine are open. give me another way to remove this entirely – harsh Dec 01 '15 at 17:27
5

The command is:

sudo apt-get purge wine

You had written get-apt by mistake, as highlighted by the error code.

Arronical
  • 19,653
  • 18
  • 73
  • 128
4

The Command to remove wine package is:

sudo apt-get remove --purge wine

But the ~./wine directory is still kept, and it contains all your installed wine applications and settings. Remove this folder and all its contents with this command:

rm -rf ~/.wine
Thomas Ward
  • 72,494
  • 30
  • 173
  • 237
Neil
  • 4,415
  • 3
  • 21
  • 34