I recently messed up with my wine, and now it can't open any application. How do I restore wine to original state and remove everything installed application, just like when it was first installed.
Asked
Active
Viewed 2.8k times
1 Answers
9
You should be able to rename ~/.wine
to ~/.wine.backup
and then run the wine
configuration program from the menu or from the command-line (winecfg
) and then a new ~/.wine
will be regenerated and you will still have the old wine
folder and so all your files will remain. You can then decide how to proceed.
Additionally, sometimes the old WINEPREFIX can be fixed by resetting the dll overrides, with winetricks alldlls=default
, as those overrides can often cause problems, as I discuss in this answer.
Problems with wine
can often occur, and that is why I always recommend installing new games or applications in their own WINEPREFIX, as I discuss here:
~/.wine
folder to.wine.backup
and just runwinecfg
to create a new.wine
default prefix. See also this question. – Apr 27 '13 at 15:20