1.安装wine sudo apt-get install wine2.安装source insight将source insight安装的可执行文件复制到ubuntu中。我复制到了~/Desktop/下面。 运行命令 wine ~/Desktop/Si35Setup.exe其中Si35Setup.exe为source insight安装包名字。安装过程与windows相同。3.建立工程 搜wine启动Configure Wine  

添加一个路径,这样source insight建工程的时候才能看到。 
4.启动source insight建立工程 使用命令启动source insight,建立工程和windows相同。 wine "c:\Program Files\Source Insight 3\Insight3.exe"5.编写一个简单的脚本方便每次启动source insight#!/bin/bashwine "c:\Program Files\Source Insight 3\Insight3.exe" 将该脚本添加到用户寻找命令的路径上,我在~/.profile的最后添加了该脚本的路劲vim ~/.profile在最后一行添加了该脚本的路劲/home/liuwei/work,注销登录后就可以运行脚本的名字来启动source insight了,我的脚本的名字是insight.sh,所以我登录后在终端输入insight.sh就可以启动source insight了。

|