Red Wine in a GlassHow to Install Wine on antiX 17CSS HTML Validator Logo
HOME Tutorials & Essays About
Tutorials & Essays About
Debian 9 screen shot

How to Install Wine on antiX 17

Check installed architectures

Verify 64-bit architecture. The following command should respond with "amd64".

$ dpkg --print-architecture

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

$ dpkg --print-foreign-architectures

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

$ sudo dpkg --add-architecture i386

Recheck with

$ dpkg --print-foreign-architectures

Add the WineHQ Debian repository

Get and install the repository key.

$ wget -nc
$ sudo apt-key add winehq.key

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

$ echo 'deb stretch 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 libasound2-plugins:i386 and Wine

$ sudo apt install --install-recommends libasound2-plugins:i386

The next command will install Wine Stable. If you prefer Wine Development or Wine Staging, replace winehq-stable with either winehq-devel or with winehq-staging.

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

Verify the installation succeeded

$ wine --version