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

How to Install Wine on deepin 15

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 15 is based on Debian 9 Stretch. Use the next three Terminal commands to add the Wine HQ repository for Debian 9 Stretch to the operating system's list of repositories.

$ echo 'deb https://dl.winehq.org/wine-builds/debian/ stretch 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, but …

$ sudo apt update

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