Getting wine 3.0 working on ubuntu 18.04
Wine stable on ubuntu 18.04 seems to have broken auto-fetching gecko, which can break many installers with EULAs.
You can see this happen with
wine iexplore https://google.com or such, you will get an error like
Could not load wine-gecko. HTML rendering will be disabled. 0009:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
I ran into it with diabloII installers not being able to show and accept EULAs.
The site has instructions explaining that the auto-installer would just grab the msis and plop em in the correct spot, which can also be done manually. Here's a quick and dirty on how to install wine and get gecko working:
- Install wine if you havent with
sudo apt install wine-stable
- sudo mdkir /usr/share/wine/gecko && cd /usr/share/wine/gecko
- sudo wget http://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86_64.msi
- sudo wget http://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi
- verify it works with
wine iexplore https://google.com