Red Wine in a GlassHow to Install Wine on DISTROCSS HTML Validator Logo
HOME Tutorials & Essays About
Tutorials & Essays About

October 20, 2024

How to Manually Install Wine Mono and Wine Gecko

An image reading copy paste into terminal

Wine Mono and Wine Gecko are Windows apps that Wine needs for full functionality. Normally, these download and install automatically when needed, but, sometimes the downloads fail, in which case Mono and Gecko must be installed manually.

Since Mono and Gecko are Windows apps, they are installed after Wine has been initialized with $ wine winecfg, and the installation procedure is the same in all Linux distributions.

Prerequisites

This document assumes Wine is already installed.

Display the version of Wine that is installed

$ wine --version

Initialize Wine, unless you have already done this. Doing it again is harmless.

$ wine winecfg

Which version of Wine Mono?

Different versions of Wine require different versions of Wine Mono. For information on choosing the appropriate version of Wine Mono, see

Wine Mono InstallersNew Window Icon

==> Use the above to determine which version of Wine Mono you need. But first, read the note in this Yellow box.

If, in the table in the above link, you do not see an exact match for the version of Wine you are installing, choose the most recent version of Wine Mono that precedes your Wine version. Example: Assume Wine 9.0 has just been installed and initialized. In the list of Wine Mono installers, Wine 8.19 is the most recent version of Wine which is older than Wine 9.0. From the table, Wine 8.19 requires Wine Mono 8.1.0. So you would choose Wine Mono 8.1.0.

Wine Mono – Download and Install

==> Browse to

Wine Download Server / wine-monoNew Window Icon

and locate and click on the name of the Wine Mono .msi file you need. The download is automatic.

Execute these three commands, but substitute the name of the .msi file that you downloaded. If the download was not to ~/Downloads, change that, too.

$ cd ~/Downloads

$ ls wine-mono*

$ wine msiexec -i wine-mono-8.1.0-x86.msi

Wine Gecko – Download and Install

For 64-bit Wine (x86_64 Wine, aka Wine WoW64), both 32-bit Wine Gecko and 64-bit Wine Gecko are needed.

==> Browse to

Wine Gecko x86 and x86_64 InstallersNew Window Icon

and locate and click on the names of the 32-bit and the 64-bit Wine Gecko .msi files you need. The download begins automatically.

Execute these four commands, but substitute the name of the .msi file that you downloaded. If the download was not to ~/Downloads, change that, too.

$ cd ~/Downloads

$ ls wine-gecko*

$ wine msiexec -i wine-gecko-2.47.4-x86.msi

$ wine msiexec -i wine-gecko-2.47.4-x86_64.msi

==> If you are creating custom Wine prefixes, these Wine Mono and Wine Gecko installations must be repeated for each prefix.

Verify the installations

Execute

$ wine uninstaller

When both Wine Mono and Wine Gecko are installed, the panel that opens looks like this, though possibly with different version numbers.

Image showing Wine Uninstaller panel with Mono and Gecko

Click either OK or Cancel to close the panel.

Run Wine's Iexplore to see Wine Gecko in action

Wine's Iexplore is a builtin version of MS Internet Explorer. Like all builtin Wine apps, Wine Iexplore has two versions: 32-bit and 64-bit. The first of the next two commands runs 32-bit Iexplore with 32-bit Wine Gecko. The second command runs 64-bit Iexplore with 64-bit Wine Gecko.

I believe most, but perhaps not all, Linux distributions have the wine64 command for executing 64-bit builtin apps.

$ wine iexplore

$ wine64 iexplore

Done!

==> You may exit this page.


Did you find this page helpful? Have constructive feedback? Wisdom to share?

Send email to Email Address

Privacy PolicyNew Window Icon

Image showing Athena serving Wine to Heracles