咱们须要用一些核心开发工具,如gcc, flex, bison, debuggers等来安装'Development Tools',这些软件必需要编译和构建新的包,使用YUM命令来安装。windows
# yum -y groupinstall 'Development Tools' # yum -y install libX11-devel libxml2-devel libxslt-devel freetype-devel flex bison
wget https://dl.winehq.org/wine/source/3.0/wine-3.0.tar.xz tar -xvf wine-3.0.tar.xz
若是解压不了xz,安装xzide
yum install -y xz
----------在32位系统上----------工具
$ cd wine-3.0/ $ ./configure $ make # make install #[以root用户身份运行]
----------在64位系统上----------开发工具
$ cd wine-3.0/ $ ./configure --enable-win64 $ make # make install #[以root用户身份运行]
--------- 在32位系统上 ---------测试
$ wine notepad $ wine c:\\windows\\notepad.exe
--------- 在64位系统上 ---------flex
$ wine64 notepad $ wine64 c:\\windows\\notepad.exe