Red Wine in a GlassHow to Install Wine on 32-bit antiX 19CSS HTML Validator Logo
HOME Tutorials & Essays About
Tutorials & Essays About

November 2, 2020

antiX 19 screen shot

How to Install Pure 32-bit Wine on antiX

About this page

Any released version of Wine may be chosen for installation. This feature becomes important if an app that ran on an early version of Wine fails when Wine upgrades to a newer version, in which case downgrading back to the previous version will restore the app.

If you previously installed Wine from your distro's Software application, delete your previous Wine installation before proceeding.

Verify installed architecture

The following command should respond with either "i386" or "amd64".

$ dpkg --print-architecture

If the response is "i386", skip to the next section, Add the WineHQ repository.

If "amd64" is displayed, execute the following.

$ dpkg --print-foreign-architectures

If the response is "i386", skip to the next section, Add the WineHQ repository.

If "i386" is not displayed, execute the following.

$ sudo dpkg --add-architecture i386

Recheck with the following, to ensure the "i386" architecture is installed.

$ dpkg --print-foreign-architectures

Add the WineHQ repository

Get and install the repository key.

$ wget -nc

$ sudo -H gpg -o /etc/apt/trusted.gpg.d/winehq.key.gpg --dearmor winehq.key

The next three commands add the WineHQ repository for Debian 10 Buster to the operating system's list of repositories.

$ echo 'deb buster main' > /tmp/winehq.list

$ sudo cp /tmp/winehq.list /etc/apt/sources.list.d/

$ rm /tmp/winehq.list

Update the package database.

$ sudo apt update

Install Libfaudio0

Beginning with Wine 4.5, both Wine Stable and Wine Development require amd64 and i386 versions of libfaudio0, but libfaudio0 is not available from the repository. Therefore, libfaudio0 must be downloaded and installed manually. The procedure in this section takes care of this. For more information, see libfaudio0 special handlingNew Window Icon.

The next command downloads the i386 libfaudio0 .deb package into the local active directory.

$ wget -nc

And the next command does the installation.

$ sudo apt install ./libfaudio0_20.01-0~buster_i386.deb

When the installation is complete, consider moving the libfaudio0 .deb file to a permanent location, or just delete it.

Install Wine

There are three options for installation: Wine Stable, Wine Development, and Wine Staging. For each option, the installation command installs three packages, and each package contains a version number (like 5.0.2 or 5.20). If you want a different version, replace the version number in each of the command's three packages with your preferred version number. For a complete list of released versions of Wine, see Window Icon.

My experience is that Wine upgrades and downgrades over previous Wine installations that were done using the procedure on this page are safe. Installed Windows apps are not affected.

Choose one of the following three options.

Option 1 Install Wine Stable

Version numbers: 5.0.0, 5.0.1, 5.0.2, …

$ sudo apt install --install-recommends wine-stable-i386:i386=5.0.2~buster wine-stable:i386=5.0.2~buster winehq-stable:i386=5.0.2~buster

Option 2 Install Wine Development

Version numbers: 5.1, 5.2, 5.3, …

$ sudo apt install --install-recommends wine-devel-i386:i386=5.20~buster wine-devel:i386=5.20~buster winehq-devel:i386=5.20~buster

Option 3 Install Wine Staging

Version numbers: 5.1, 5.2, 5.3, …

$ sudo apt install --install-recommends wine-staging-i386:i386=5.20~buster wine-staging:i386=5.20~buster winehq-staging:i386=5.20~buster

Verify the installation succeeded.

$ wine --version

Configure Wine

The default Wine configuration prepares Wine as a Windows 7 environment, which is good for some older Windows apps, but many contemporary apps will be better matched to Windows 8.1 or Windows 10. In addition, other configuration options may be significant.

To bring up Wine's configuration panel, open a Terminal window and execute winecfg. When prompted, set your preferred version of Windows and accept all offers to install Mono and Gecko.

Depending on the version of Wine, Gecko may need to be installed twice (for 32-bit and for 64-bit) or not at all. (Wine 6.0.1 will install Gecko twice. Wine 6.17 and later will not ask to install Gecko, but a Windows app that needs Gecko will, during installation, prompt to be allowed to install it.)

$ wine winecfg

If you are creating custom Wine prefixes, this configuration must be repeated for each prefix.

A couple simple tests

Just for fun, or to see Wine in action …

Display a simple clock.

$ wine clock

Run Wine's builtin web browser.

$ wine iexplore

Facebook Logo   Twitter Logo  Reddit Logo   Quora Logo

Consider sharing your experience

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

Send email to Email Address

Privacy PolicyNew Window Icon

A.Z. (initials or other identifier) (date will be here)

… (your comment appears here) …