Wine LogoHeader TextCSS HTML ValidatorLogo

HOME Understanding Wine Using Wine CSS HTML Validator
Features
CSS HTML Validator
installation with Wine
About Contact
Understanding Wine Using Wine CSS HTML Validator
Features
CSS HTML Validator
installation with Wine
About Contact

MX Linux 19 screen shot

About Wine

If you are not familiar with Wine (or maybe even if you are), you may find the article Understanding Wine helpful. A more complete reference is the WineHQ Wine User's Guide.New Window Icon Also see the Wine List of Commands.New Window Icon

Introduction

All Terminal commands in this document have been validated by copy/paste from this document into a Terminal window and executed. Consider arranging your browser window and your Terminal window side by side in order to copy/paste the Terminal commands.

Verify architectures

Begin by opening a Terminal window and checking your installed architectures. The following command should respond with amd64.

$ dpkg --print-architecture

Next, the following command should respond with i386.

$ dpkg --print-foreign-architectures

If the previous command did not show i386, do the following.

$ sudo dpkg --add-architecture i386

Subsequently, recheck with.

$ dpkg --print-foreign-architectures

Assuming you received the desired i386 response, continue on. Otherwise, you will need to resolve the architecture issue.

Add repository and install Wine

With the next two commands, you download and install the repository key.

$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
$ sudo apt-key add winehq.key

MX Linux 19 is based on Debian 10 Buster. Use the next three Terminal commands to add the Wine HQ repository for Debian 10 Buster to the operating system's list of repositories.

$ echo 'deb https://dl.winehq.org/wine-builds/debian/ buster main' > /tmp/winehq.list

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

$ rm /tmp/winehq.list

Update packages.

$ sudo apt update

Beginning with Wine 5.0, 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 next two commands download the libfaudio0 .deb packages into the local active directory.

$ wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/amd64/libfaudio0_20.01-0~buster_amd64.deb

$ wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/i386/libfaudio0_20.01-0~buster_i386.deb

And these two commands do the installations.

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

When the installations are complete, consider moving the two libfaudio0 .deb files to a permanent location, or just delete them.

The next command will install the current stable version of Wine. However, some Windows applications may work better with a more recent development version. If you need or prefer the most recent development version, replace winehq-stable with winehq-devel.

Install Wine-Stable.

$ sudo apt install --install-recommends winehq-stable

If apt complains about missing dependencies, install them, then repeat the last two steps (sudo apt update and sudo apt install).

Verify the installation succeeded.

$ wine --version

Next …

Now that Wine is installed, take a look at the article Using Wine for information on installing Windows applications.

There is also an article CSS HTML Validator installation with Wine which contains specific instructions for installing and configuring CSS HTML Validator.


Resources

WineHQ news, including Wine versionsNew Window Icon

Binary packages available from WineHQ, with links to the binariesNew Window Icon