ubuntu16.04下安装sourcesinsight

参考: https://blog.csdn.net/qq_22122811/article/details/66975946

参考1http://blog.csdn.net/yunfeiyang62/article/details/46662633

参考2http://blog.csdn.net/imyang2007/article/details/7654700

 

   习惯了在source insight下编辑阅读源码,在linux下用vi总是用不好 ,还是在ubuntu上用回熟悉的source insight

在ubuntu中,安装windows程序用wine,然后用wine安装windows软件即可。

 

1.安装wine
在终端输入以下命令:

# sudo apt-get install wine  

2.用wine安装Source Insight

下载地址:http://www.liangchan.net/soft/softdown.asp?softid=3947

下载资源:hf_sourceinsight3.5.rar

输命令:

# 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默认为windowsC盘,打开进到该目录看看:

# 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

猜你喜欢

转载自www.cnblogs.com/axjlxy/p/8934222.html