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

SparkyLinux 5 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 GuideNew Window Icon. Also see the Wine List of CommandsNew 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.

At the time of this writing, SparkyLinux's software manager offers to install Wine 4, whereas the procedure in this document installs the latest version of Wine Stable or Wine Development, currently Wine 5.0 Stable and Wine 5.2 Development.

Install apt-transport-https

$ sudo apt-get update
$ sudo apt-get install apt-transport-https

Check 64-bit and 32-bit architectures are installed

The following command should respond with amd64, verifying the required 64-bit architecture.

$ dpkg --print-architecture

See if 32-bit architecture is installed. The following command should respond with "i386"

$ dpkg --print-foreign-architectures

If it does not display "i386", execute the following.

$ sudo dpkg --add-architecture i386

Re-check with

$ dpkg --print-foreign-architectures

Add the WineHQ repository

Get and install the repository key.

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

Use the next three Terminal commands to add the Wine HQ repository for Debian 10 Buster to the 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 and install Wine

$ 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

The next 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.

$ 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

Debian packages and installation instructionsNew Window Icon