Centos 7上的葡萄酒1.9.24

时间:2016-12-30 09:37:16

标签: linux centos wine

问题

当我尝试启动任何Windows程序时,我没有得到任何错误,也没有任何反应。我尝试使用Centos 7的3台不同的机器。还尝试了旧版本的Wine。使用来自Mikrotik的winbox.exe和putty.exe进行测试。可能是什么问题?

$ ./wine winbox.exe
$ 

CentOS 7版本

$ cat /etc/*elease | grep "release" | head -1
CentOS Linux release 7.3.1611 (Core)

内核版本

$ uname -r
3.10.0-514.2.2.el7.x86_64

Openbox版本

$ openbox --version | grep "Openbox"
Openbox 3.5.2

Wine安装步骤

sudo yum clean all
sudo yum update -y

sudo yum groupinstall -y 'Development Tools'
sudo yum install -y libX11-devel freetype-devel zlib-devel libxcb-devel libxml2-devel libxslt-devel libjpeg-devel gnutls-devel flex bison

cd /tmp
wget http://dl.winehq.org/wine/source/1.9/wine-1.9.24.tar.bz2
tar xjf wine-1.9.24.tar.bz2
cd wine-1.9.24

./configure  --enable-win64
make -j4

并且可执行文件正在运行

$ ./wine --version
wine-1.9.24

1 个答案:

答案 0 :(得分:0)

酒-2.0-RC3

没有时间尝试最新的Wine 2.0版本,但我的所有问题都随着wine-2.0-rc3而消失。仅测试了32位安装。一步一步:

sudo yum clean all
sudo yum update -y

sudo yum groupinstall -y 'Development Tools'
sudo yum install -y libX11-devel freetype-devel zlib-devel libxcb-devel libxml2-devel libxslt-devel libjpeg-devel gnutls-devel flex bison
sudo yum install -y samba-winbind samba-winbind-clients samba-winbind-modules libwbclient-devel mod_auth_ntlm_winbind
# OpenGL support
sudo yum install mesa-dri-drivers.i686 mesa-libGL.i686

mkdir ~/bin && cd ~/bin
wget http://dl.winehq.org/wine/source/2.0/wine-2.0-rc3.tar.bz2
tar xjf wine-2.0-rc3.tar.bz2 && cd wine-2.0-rc3

# run provided install tool and write the output to file
./tools/wineinstall | tee output.file

# get the winetricks tool
wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks 
WINE=~/bin/wine-2.0-rc3/wine sh winetricks corefonts vcrun6 mfc40 ie8 ie7

# start the downloaded windows program
./wine ~/Downloads/winbox.exe
来自Mikrotik的

winbox

winbox

的SketchUp

winbox