1、安装 wine
sudo apt-get install wine
wine配置命令:
winecfg
2、安装 SourceInsight
下载 SourceInsight 安装包。下载完成后,用 wine 安装,安装方法与在 windows一样。
wine InsightSetup.exe
3、启动source insight
wine “/home/ivy/.wine/drive_c/Source Insight 3/Insight3.exe”
4、编写脚本快速启动
建立/.SourceInsight.sh 脚本
function SourceInsight() {
wine “/home/ivy/.wine/drive_c/Source Insight 3/Insight3.exe ”
}
修改~/.bashrc ,添加下面内容到文件末尾:
source ~/.SourceInsight.sh
这样每次登陆终端都可以直接使用命令 SourceInsight 来启动 source insight 了,非常方便。
SourceInsight