现在的位置: 首页 > 操作系统 > 正文

ubuntu 安装wine

2018年01月14日 操作系统 ⁄ 共 666字 ⁄ 字号 评论关闭

官方:        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

抱歉!评论已关闭.