参考: https://blog.csdn.net/qq_22122811/article/details/66975946linux
参考1:http://blog.csdn.net/yunfeiyang62/article/details/46662633ubuntu
参考2:http://blog.csdn.net/imyang2007/article/details/7654700windows
习惯了在source insight下编辑阅读源码,在linux下用vi老是用很差 ,仍是在ubuntu上用回熟悉的source insight。spa
在ubuntu中,安装windows程序用wine,而后用wine安装windows软件便可。.net
1.安装wine
在终端输入如下命令:blog
# sudo apt-get install wine 资源
2.用wine安装Source Insightget
下载地址:http://www.liangchan.net/soft/softdown.asp?softid=3947源码
下载资源:hf_sourceinsight3.5.rar io
输命令:
# rar x hf_sourceinsight3.5.rar
# wine si35Setup.exe
开始相似windows下的安装过程:
一直下一步,OK’就行了!
到了输注册码:输SI3US-361500-17409
3.如何打开SourceInsight?
项目导入以后,把sourceInsight关闭以后,怎么再把SourceInsight打开?这时发如今终端不知道wine安装到哪了,还有SourceInsight的安装目录又在哪里?
先在终端中输入命令
# cd ~
# ll
发现多了个隐藏目录:
#.wine/
进去看看:
# cd .wine/
# ll
发现有如下目录:
dosdevices drive_c system.reg userdef.reg user.reg
其中drive_c默认为windows下C盘,打开进到该目录看看:
# cd drive_c
# ls
这时基本上都能明白怎么回事了,打开Program Files:
# cd Program\ Files/
# ls
在终端输入命令:
# wine Insight3.exe
成功打开Source Insight!
快捷键:
wine ~/.wine/drive_c/Program\ Files/Source\ Insight\ 3/Insight3.Exe