在ubuntu12.04中安装wine和source insight
1.安装wine
sudo apt-get install wine
2.安装source insight
将source insight安装的可运行文件拷贝到ubuntu中。我拷贝到了~/Desktop/以下。
执行命令
wine ~/Desktop/Si35Setup.exe
当中Si35Setup.exe为source insight安装包名字。安装过程与windows同样。
3.建立project
搜wine启动Configure Wine
加入一个路径。这样source insight建project的时候才干看到。
4.启动source insight建立project
使用命令启动source insight,建立project和windows同样。
wine "c:\Program Files\Source Insight 3\Insight3.exe"
5.编写一个简单的脚本方便每次启动source insight
#!/bin/bash wine "c:\Program Files\Source Insight 3\Insight3.exe"
将该脚本加入到用户寻找命令的路径上,我在~/.profile的最后加入了该脚本的路劲
vim ~/.profile
在最后一行加入了该脚本的路劲/home/liuwei/work,注销登录后就能够执行脚本的名字来启动source insight了。我的脚本的名字是insight.sh。所以我登录后在终端输入insight.sh就能够启动source insight了。
posted on 2017-07-28 11:45 cynchanpin 阅读(660) 评论(0) 收藏 举报
浙公网安备 33010602011771号