现在的位置: 首页 > 综合 > 正文

ubuntu10.10 下使用 source insight 欣赏 android 源代码

2012年07月12日 ⁄ 综合 ⁄ 共 1312字 ⁄ 字号 评论关闭

1. 安装 wine


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

 

因为版本比较旧,所以通常不用,改用 PPA中 的 wine。

 

安装最新版 wine

ubuntu 官方自带了 wine ,但是推荐用 winehq 官方提供的最新版本 wine ,新版本解决了很多以前显得麻烦的问题。

 

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

 

2. 安装 winetricks

 

改变权限,剪切到:/usr/local/bin

 

使用 winetricks,安装软件,例如安装 .net2.0 框架

 

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

 

删除主要文件

 

删除残留文件

(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配置

注意:4、5 是题外话,有兴趣的 ITREN 可以研究!!!









 

抱歉!评论已关闭.