# yum -y groupinstall 'Development Tools' # yum -y install libX11-devel libxml2-devel libxslt-devel freetype-devel flex bison
$ cd /tmp $ wget http://dl.winehq.org/wine/source/1.8/wine-1.8.5.tar.bz2
tar -xvf wine-1.8.5.tar.bz2 -C /tmp/
$ cd wine-1.8.5/ $ ./tools/wineinstall
使用EPEL存储库安装Wine
# yum install epel-release # yum install wine
安装完成后运行KDE或GNOME桌面的“winecfg,而后 ”的配置工具来查看支持的配置。 如果您没有任何桌面,可以使用以下命令作为root用户安装它。
# yum groupinstall "X Window System" "GNOME Desktop Environment"
OR
# yum groupinstall "X Window System" "KDE (K Desktop Environment)"
# yum groupinstall "GNOME Desktop" [On CentOS 7]
# yum groupinstall "Server with GUI" [On RHEL 7]