Linux下的Source Insight+Ubuntu 10.04使用Wine安裝Source Insight__Linux

來源:互聯網
上載者:User

 

Linux下的Source Insight http://rogerer.javaeye.com/blog/755346

   在網上看到一朋友寫了一篇推薦Linux下代碼閱讀工具Source Insight 。我想更細化一下,也做做筆記,方便日後使用。

方法是:wine + Windows下的Source Insight安裝檔案。

 

環境是:Ubuntu 9.10。

依賴包:flex<-m4,bison

 

因為安裝機器不太方便上網。所以需要從可以上網的本子中的虛擬機器來下載。我使用apt-get來下載。為了避免出現錯誤,就在虛擬機器中手動(dpkg)安裝、測試。 下載依賴包並按照 下載wine主題包

這裡必須要說的是,在使用源碼安裝的時候,wine報錯什麼“X development”方面的錯誤。網上看到有人說是依賴的問題。所以,我也用apt-get來get二級制包。

 

   也許這裡方法寫得不太清楚,我就是用apt-get進行安裝啦。如果你可以上網,執行如下命令就可以了。 Shell代碼 sudo apt-get install flex bison    sudo apt-get install wine  

sudo apt-get install flex bisonsudo apt-get install wine

   3. 安裝sourceinsight

    執行命令:

  Shell代碼 wine Si3563Setup.exe  

wine Si3563Setup.exe

 

    接下來就像Windows程式一樣安裝了。

 

    4. 使用須知

   怎麼知道Source Insight 呢。:Applications--》other  裡麵包含可用的程式。

   附件中,是我當時現在的依賴包。wine並沒有包含在其中,因為超過10MB。

   當然也不能夠少帶序號的Source Insight安裝程式啦。

 

    出略記憶,僅供參考。有任何疑問可以留言哦。

 

 flex.tar.gz (242.8 KB)
m4.tar.gz (235 KB)
bison.tar.gz (253 KB)
source_insight_3.5.rar (3.1 MB)

 

 

 

一、Ubuntu 安裝wine工具
$sudo apt-get install wine
註:如安裝不了加入如下源:
{{
  deb http://cz.archive.Ubuntu .com/ubuntu lucid main universe
}}
這是Ubuntu 10.04的源。wine版本是1.1.42的,這個版本對中文支援的非常好。

二、將Source Insight拷貝到xp共用資料夾下


三、進入ubuntu中InsightSetup.exe所在目錄,使用wine工具安裝Source Insight


$ wine InsightSetup.exe
註:之後完裝和windows相同。

 

   

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.