linux安装wine

本文提供了一份详细的指南,介绍如何在类Unix系统上安装Wine,以便能在X Window System下运行Microsoft Windows程序。主要内容包括下载Wine源码包、解决Flex版本问题及编译安装过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值