当前位置: > Linux服务器 > 环境配置 >

linux下wine安装

时间:2014-10-23 13:58来源:linux.it.net.cn 作者:it

下载wine(非RPM包):可以从www.winehq.org下载.我自己下的是Stable的,wine-1.0.1。

wine-1.1.1,下载wine-1.1.1.tar.bz2。用以下方法编译wine:

用wineinstall安装:用普通用户登录,解压wine-1.1.1.tar.bz2,解压后的目录就是源码安装包,进入该目录。运行:./tools/wineinstall按提示回答就可以了。

在我电脑上的操作如下:

cd 桌面

tar jxvf wine-1.1.1.tar.bz2
cd wine-1.1.1
./tools/wineinstall

之后它会运行./configure,然后显示:We need to install wine as root user, do you want us to build wine,’su root’ and install Wine? Enter ‘no’ to continue without installing(yes/no)

yes 回车

首先提示为:

configure: error: no suitable flex found. Please install the ‘flex’ package.

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

再次运行./tools/wineinstall

提示为:

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即可。
 
 
 
安装是成功了,但是使用起来真郁闷:装迅雷用不起;装Ies4linux,老是出错;装QQ,即使装好了,用起来也卡死,cpu直接升到100%……谁来帮帮我!
(责任编辑:IT)
------分隔线----------------------------