linux使用wine安装windows exe程序

来源:互联网 发布:七天网络查分登入账号 编辑:程序博客网 时间:2024/04/29 03:57

最近换到Ubuntu下工作,但是很怀念source insight,记得有款软件即wine可以支持在linux平台下运行exe程序。

1、下载wine

我使用的是ubuntu,可以在终端键入 sudo apt-get install wine;

推荐大家去官网下载源码包 http://www.winehq.org/  ,下载最新的稳定版,当前为wine 1.6.2.


2、安装wine

打开终端切换到下载的安装包目录

cd 下载 
tar jxvf wine-1.6.2.tar.bz2 
cd wine-1.6.2
./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即可,

make 

makeinstall 

3、安装source insight3.5

安装步骤如windows下一致,不过用起来效果不是很好,希望能在linux平台下找到类似软件。

0 0
原创粉丝点击