I currently have Wine 1.6.1 installed (Ubuntu Mate 16.04).
The instructions for upgrading Wine in https://wiki.winehq.org/Ubuntu say
"If you have previously installed a Wine package from another repository, please remove it and any packages that depend on it (e.g., wine-mono, wine-gecko, winetricks) before attempting to install the WineHQ packages, as they may cause dependency conflicts."
Do I have to delete ~/.wine and all its contents? That would be seriously inconvenient as I have several Windows programs already installed.
If not, what do I do?
Do I have to delete wine in order to upgrade it?
Re: Do I have to delete wine in order to upgrade it?
Uninstalling Wine and deleting the wineprefix are not the same thing. You do not have to delete ~/.wine, but you do have to uninstall 1.6.1 before installing a WineHQ package.
Re: Do I have to delete wine in order to upgrade it?
OK, so deleting the wineprefix is the same as deleting the directory where wine is kept.dimesio wrote:Uninstalling Wine and deleting the wineprefix are not the same thing. You do not have to delete ~/.wine, but you do have to uninstall 1.6.1 before installing a WineHQ package.
So I should use the "Uninstall Wine Software" as shown in the menu in the enclosed image: I did delete ~/.wine on an old computer to see how it worked, and installed Wine 2.0.4. The new wine did not have any of the options like "Configure Wine" etc. I managed to re-install Sketchup by using winetricks.
Wine prefix changed from
Code: Select all
env WINEPREFIX="/home/bob/.wine" wine C:\\Program\ Files\\Google\\Google\ SketchUp\ 8\\SketchUp.exe
Code: Select all
env WINEPREFIX="/home/bob/.local/share/wineprefixes/sketchup" wine C:\\Program\ Files\\Google\\Google\ SketchUp\ 8\\SketchUp.exe
Thanks.
Re: Do I have to delete wine in order to upgrade it?
No; deleting the wineprefix is deleting the directory where Wine stores its configuration files, fake C: drive, and where your Windows apps get installed to. Wine is not normally installed in the wineprefix. Distro packages usually install it to /usr/bin, and the WineHQ packages install it to /opt/wine-devel or /opt/wine-staging.unlikely wrote: OK, so deleting the wineprefix is the same as deleting the directory where wine is kept.
No, that is just for uninstalling your Windows apps, and only from the default wineprefix. It will not uninstall Wine.So I should use the "Uninstall Wine Software" as shown in the menu in the enclosed image:
So you did the opposite of what I told you to do.I did delete ~/.wine on an old computer to see how it worked, and installed Wine 2.0.4.
As stated on https://wiki.winehq.org/Ubuntu:The new wine did not have any of the options like "Configure Wine" etc.
Menu items are not created for Wine's builtin programs (winecfg, etc.), and if you are upgrading from a distro package that had added them, they will be removed. You can recreate them yourself using your menu editor.
As you discovered, winetricks installs apps to their own wineprefixes.I managed to re-install Sketchup by using winetricks.
No. If you had used Uninstall Wine Software you would have uninstalled the apps installed in ~/.wine without deleting ~/.wine. That would not have uninstalled Wine.So if I had used "Uninstall Wine Software", the software would have remained under "/home/bob/.wine"?
For more info:
https://wiki.winehq.org/FAQ#Uninstalling
https://wiki.winehq.org/FAQ#Wineprefixes
Re: Do I have to delete wine in order to upgrade it?
Ah yes, but that was before I started asking questions here.dimesio wrote: So you did the opposite of what I told you to do.
[/quote]dimesio wrote: https://wiki.winehq.org/FAQ#Uninstallin ... installing Wine itself will not revert your Wine settings or uninstall your Windows apps, which are permanently stored in your user's home directory. Do not uninstall Wine if you only wish to remove all of your settings and apps. For instructions on removing your Wine settings and apps, see #How do I wipe the virtual Windows installation?
If you installed Wine with your distribution's package manager, use it again to uninstall Wine.
That looks promising. I will try it later.
Thanks again.