1.1、Wine简介
short for:Wine Is Not an Emulator
是什么 ?:a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as GNU/LinuxmacOS, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.
开发语言:C
官方主页:https://www.winehq.org
1.2、通过包管理器安装Wine
操作系统包管理器安装命令
macOSHomeBrewbrew install xquartz
brew install wine
GNU/LinuxHomeBrewbrew install wine
aptsudo apt-get install -y wine
CentOSyumsudo yum install -y wine
dnfsudo dnf install -y wine
openSUSEzyppersudo zypper install -y wine
Alpine Linuxapksudo apk add wine

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm wine
1.3、通过编译源码安装Wine

step1、安装依赖

所有时Terminal + Shell + GNU CoreUtils
下载时cURL
编译时gmakegcc / GCC | Clang / LLVMflexbison
运行时glibc ( libc.sold-linux-x86-64.so )

step2、使用git下载Wine源码

git clone git://source.winehq.org/git/wine.git

step3、进入wine目录,并查看它的内容

step4、切换到stable分支

git checkout stable

step5、配置、编译、安装

./configure --enable-win64 && make && sudo make install
1.4、Wine中包含的工具