1.yum安装wine
[root@10-7-185-27 wine]# sudo yum -y install wine
CentOS-8.0 - AppStream 161 B/s | 162 B 00:01
CentOS-8.0 - Base 38 kB/s | 162 B 00:00
CentOS-8.0 - Extras 48 kB/s | 162 B 00:00
CentOS-8.0 - Plus 161 B/s | 162 B 00:01
Failed to synchronize cache for repo 'AppStream', ignoring this repo.
Failed to synchronize cache for repo 'BaseOS', ignoring this repo.
Failed to synchronize cache for repo 'extras', ignoring this repo.
Failed to synchronize cache for repo 'centosplus', ignoring this repo.
Last metadata expiration check: 0:09:27 ago on Mon 04 May 2020 10:43:43 PM HKT.
Error:
Problem: package wine-4.0.3-1.el7.x86_64 requires wine-twain(x86-64) = 4.0.3-1.el7, but none of the providers can be installed
- conflicting requests
- nothing provides sane-backends-libs(x86-64) needed by wine-twain-4.0.3-1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
手动下包,安装
解压完以后输入:./configure --enable-win64
configure: WARNING: prelink not found, base address of core dlls won't be set correctly.
configure: WARNING: libxrender development files not found, XRender won't be supported.
configure: WARNING: No OpenGL library found on this system.
OpenGL and Direct3D won't be supported.
configure: WARNING: libxslt development files not found, xslt won't be supported.
configure: WARNING: libgnutls development files not found, no schannel support.
configure: WARNING: libjpeg development files not found, JPEG won't be supported.
configure: WARNING: No sound system was found. Windows applications will be silent.
configure: Finished. Do 'make' to compile Wine.
这是最后面的几行
再输入wine -version表示没有wine
小白,求大神指教~谢谢~~