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

September 30, 2020

deepin 20 screen shot

How to Install Wine on deepin 20

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 it does not display "i386", execute the following.

$ sudo dpkg --add-architecture i386

Re-check with

$ dpkg --print-foreign-architectures

Add the WineHQ Debian repository

Get and install the repository key.

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

deepin 20 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

Execute the next command to 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 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.

Install Wine

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


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 Policy

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

… (your comment appears here) …