日期:2014-05-16  浏览次数:20568 次

linux安装wine
Wine是一个在x86、x86-64上容许类Unix操作系统在X Window System下运行Microsoft Windows程序的软件。
首先,下载Wine源码包www.winehq.org
解压运行
[root@localhost ~]tar jxvf wine-1.2.tar.bz2
[root@localhost ~]cd wine-1.2
[root@localhost wine-1.2]./configure

自动检查相关依赖关系
此处提示Flex版本过低
检查Flex版本
[root@localhost wine-1.2]flex --version

提示Flex版本是2.5.4
低于Wine要求的2.5.32
而yum update flex的结果是只有这个版本
下载最新版http://flex.sourceforge.net/
下载flex version 2.5.35 in tar.gz
然后解压
[root@localhost ~]tar -zxvf flex-2.5.35.tar.gz
[root@localhost ~]cd flex-2.5.35
[root@localhost flex-2.5.35]./configure

然后编译安装
[root@localhost flex-2.3.35]make
[root@localhost flex-2.3.35]make install

进入Wine目录
[root@localhost flex-2.3.35]cd
[root@localhost ~]cd wine-1.2
继续Configure
[root@localhost wine-1.2]./configure
[root@localhost wine-1.2]make
[root@localhost wine-1.2]make install

注意:源码编译的时间特别长.


安装参考
http://hi.baidu.com/crazy_snail/blog/item/663d2e019e85e6d8277fb55b.html