I just did a wine Install on Ubuntu 16.04 and got the dialogue "We can install Mono and Gecko but recommend you do it the proper way". I hit the cancel button figuring I'll install them later. Do I need to actually do this and what's the best way?
I use all kinds of legacy Windows apps that aren't available on Linux.
Mono
You need Mono to run certain applications and components.
It is recommended to install the Microsoft core fonts, some applications require it to work properly.
I suggest you to install PlayOnLinux, so you can manage your Wine prefixes easily by installing the components required for each one.
For example, if you want to install Microsoft Office, PlayOnLinux already has a script which automatically installs the required complements and packages.
You can install mono by using:
sudo apt install mono-complete
or (for Ubuntu versions prior to 16.04)
sudo apt-get install mono-complete
Gecko
For Gecko, check https://wiki.winehq.org/Gecko
To ignore Mono and Gecko popup, you can export the following variable before running your app:
If you do that, rendering of HTML is going to be disabled in some apps.
See: How to disable Gecko package popup for Wine?
Alternatively install Gecko by:
sudo apt-get install wine-gecko\*
.And .NET library by via
winetricks
:See: Why is Wine not seeing that I have mono 3 installed?
Other answers were not working for me on 18.04 LTS with
winehq-stable
package. I needed.NET
framework packages to run a certain application, so I did not needMono
in particular, just something that would runC#
programs.The workaround I found was to recreate wine32 and wine64 prefixes and install
.NET
on those with the automatic prompt ofwinetricks
.