您的位置:首页 > 其它

IDE--ubuntu下安装 Source insight

2014-03-03 21:40 239 查看
作者:Young_2717

转自:/article/8675464.html

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

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

安装wine

在终端输入以下命令:

[plain]
view plaincopy

sudo apt-get install wine

用wine安装Source Insight

在终端中输入以下命令:

[plain]
view plaincopy

wine ~/SourceInsight/InsightSetup.exe

注:SourceInsight的安装包要自行下载,跟windows下的安装一样。
导入工程即可,跟windows无异。

附图:



如何打开SourceInsight?

项目导入之后,把sourceInsight关闭之后,怎么再把SourceInsight打开?这时发现在终端不知道wine安装到哪了,还有SourceInsight的安装目录又在哪里?

先在终端中输入命令

[plain]
view plaincopy

cd ~
ll

发现多了个隐藏目录:

.wine/

进去看看:

[plain]
view plaincopy

cd .wine/
ll

发现有以下目录:

dosdevices drive_c system.reg userdef.reg user.reg

其中drive_c默认为windows下C盘,打开进到该目录看看:

[plain]
view plaincopy

cd drive_c
ls



这时基本上都能明白怎么回事了,打开Program Files:

[html]
view plaincopy

cd Program\ Files/
ls



总算找到它了,打开看看:

[plain]
view plaincopy

<pre name="code" class="plain">cd Source\ Insight\ 3/
ls</pre><strong><br>
</strong><pre name="code" class="plain"><strong xmlns="http://www.w3.org/1999/xhtml"><img src="http://my.csdn.net/uploads/201206/12/1339496582_8939.png" alt="">
在终端输入命令:
wine Insight3.exe

成功打开Source Insight!
<strong>
备注:刚发现瞎忙了半天,安装完wine后在系统菜单里面有个wine选项,在那直接打开source insight就可以了(Wine->Programs->Source Insight3->Source Insight3.5),瞎折腾:(</strong></strong></pre><br>
<pre></pre>
<pre></pre>

转载请注明出处:/article/8675464.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: