ubuntu 安装wine

官方:        http://wiki.winehq.org/Wine64

cd $HOME
mkdir wine64
cd wine64
../wine-git/configure --enable-win64 
make > make.log 2>&1
cd ..
mkdir wine32
cd wine32
../wine-git/configure --with-wine64=../wine64
make > make.log 2>&1
#make install
#cd ../wine64
#make install


若出现提示为:  configure: error: no suitable flex found. Please install the 'bison' package.  

我们可以运行:sudo apt-get install bison解决  


提示为: configure: error: X development files not found. Wine will be built without X support, which probably isn't what you want. You will need to install development packages of Xlib/Xfree86 at the very least. Use the --without-x option if you really want this. 

如果是用gonme桌面的,请在终端输入:

sudo apt-get install gnome-devel 

下载安装完后再次执行编译安装wine即可


若是问题较多,可以狠一点,用

apt-get build-dep wine


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值