PDA

View Full Version : [ubuntu] How do I completely delete all of wine and all of the programs installed using it?



Detailedghost
June 4th, 2008, 06:45 PM
I've had too many problems with wine, and I have reason to believe it's corrupt. So I was wondering if there is a way to completely uninstall Wine and programs I install using it, so I can start over and try again.

jerome1232
June 4th, 2008, 06:57 PM
if you used apt-get to install

sudo apt-get remove --purge wine

you would also want to remove ~/.wine this is were all programs get installed to by defualt, also where configuration settings get saved

rm -rvI ~/.wine

you don't have to add the -vi but it lets you know what rm is doing and asks you to confirm it before doing it, it's nice in case you mistype what you want removed

changed rm command to the correct one (srry about that)

Rigrig
June 4th, 2008, 07:27 PM
This:
rm -vi ~/.wine won't work, since .wine is a directory. also it would prompt you for every single file to remove, which would probably mean typing 'y' a lot of times.


This command:
rm -rvI works better for deleting it:
-r means to remove directories (recursively)
-v means it shows you everything that it is doing (verbose)
-I (capital i) means it will ask you for confirmation once (from Interactive)

jerome1232
June 4th, 2008, 07:29 PM
oh yeah lol srry I forgot you have to add -r

Detailedghost
June 6th, 2008, 03:37 AM
thanks a ton!