While trying to install some Windows software using wine, I would see error messages relating to wine mono and wine gecko. Ultimately the installation would fail. In order to fix it, it seems we need to install these additional plugins.
Researching online, wine mono is related to Microsoft .Net framework. It is an open source version of it. Some Windows programs need this .Net in order to run.
While wine gecko is a layout engine developed by Mozilla. Some programs use HTML to display their browser-like user interface. Thus the need to have this gecko in order to render the display properly.
Normally, according to wine, the mono and gecko would be installed automatically if they are needed. But the error messages showed otherwise. So it looks like it will have to be installed manually. Thankfully the procedure is simple.
WINE MONO
To install wine mono, just key in the following in the terminal:
sudo apt install mono-complete
WINE GECKO
To install wine gecko, some additional steps would be needed. First, download the gecko file:
- goto https://dl.winehq.org/wine/wine-gecko
- navigate to the version and download the file
- e.g. wine-gecko-2.47.4-x86_64.tar.xz
Open the terminal and type the following commands, modify the versions according to the downloaded file appropriately:
cd ~/Downloads sudo mkdir -p /usr/share/wine/gecko sudo tar xf wine-gecko-2.47.2-x86_64.tar.xz -C /usr/share/wine/gecko wineboot -u
That should do it.
You may want to reboot to ensure the proper linkage of the binary files.
Cheers!