ubuntu10.10 下使用 source insight 欣賞 android 原始碼

來源:互聯網
上載者:User

1. 安裝 wine


詳看:http://wiki.ubuntu.org.cn/Wine

sudo apt-get install wine 

因為版本比較舊,所以通常不用,改用 PPA中 的 wine。

 

安裝最新版 wine

ubuntu 官方內建了 wine ,但是推薦用 winehq 官方提供的最新版本 wine ,新版本解決了很多以前顯得麻煩的問題。

 

PPA 地址:https://launchpad.net/~ubuntu-wine/+archive/ppa

sudo add-apt-repository ppa:ubuntu-wine/ppa<br />sudo apt-get update<br />sudo apt-get install wine 

2. 安裝 winetricks

wget http://kegel.com/wine/winetricks 

改變許可權,剪下到:/usr/local/bin

chmod +x winetricks<br />sudo mv winetricks /usr/local/bin 

使用 winetricks,安裝軟體,例如安裝 .net2.0 架構

winetricks dotnet20 

3.安裝 source insight

 

:http://www.sourceinsight.com/downeval.html

 

使用命令 wine *.exe(剛下載的source insight軟體)開始安裝 source insight

 

ubuntu中Application/wine/Programs開啟source insight

 

建立 project,匯入 android 源碼即可。

 

4.卸載 wine

 

刪除主要檔案

sudo apt-get remove --purge wine 

刪除殘留檔案

(1)刪除.config/menus目錄下的相應檔案

(2)刪除.config/menus/applications-merged目錄下的相關檔案

(3)開啟.config/menus/applications.menu檔案,刪除檔案中與wine有關的內容。

(4)刪除以下三個檔案:

        /usr/share/app-install/desktop/wine.desktop

        /usr/share/app-install/desktop/wineconfig.desktop

        /usr/share/app-install/desktop/winefish.desktop

(5)刪除下面三個目錄下與wine和wine相關的內容:

        ~/.local/share/applications

        ~/.local/share/desktop-directories

        ~/.local/share/icons

(6)刪除~/.wine

 

注意:.config、.wine、.local 均在使用者目錄下(一般會隱藏),可在終端使用 ls -al 顯示當期目錄的所有檔案,然後使用 rm -f **刪除檔案、使用 rm -fr **刪除檔案夾。

 

5.更多wine配置
http://forum.ubuntu.org.cn/viewtopic.php?t=107816注意:4、5 是題外話,有興趣的 ITREN 可以研究!!!








 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.