wine is a compatibility layer, from the multi-platform (linux, macos, etc.) run windows applications.
Wine (Wine Is Not an Emulator) [ie Wine is not an emulator] is on top of a Linux and UNIX, Windows APIs implementation. Note, Wine is not a Windows emulator, but the use of real conversion technology to make Linux API corresponds to the corresponding Windows function to call the DLL to run Windows programs.
1. Install wine
The first step: wine is based on 32-bit architectures, and now computers are basically 64, it is necessary to enable 32-bit architecture, 32-bit if the computer is then ignore this step.
sudo dpkg --add-architecture i386
Step two: add the software source.
wget -nc https://dl.winehq.org/wine-builds/Release.key sudo apt-key add Release.key sudo apt-key adv --recv-keys --keyserver keyserver.Ubuntu.com F987672F sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
The third step: update packages.
sudo apt-get update
Step 4: Select a wine distribution package installation.
版本 安装命令 Stable branch sudo apt-get install --install-recommends winehq-stable Development branch sudo apt-get install --install-recommends winehq-devel Staging branch sudo apt-get install --install-recommends winehq-staging
Check whether wine can be installed to perform:
If wine wine --version # version would indicate that the installation was successful
This article reprinted from: niffler