參考: 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