ubuntu下sourceinsight的安装
转载自blog.csdn.net/zzobin/article/details/7376616
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
- sudo apt-get update
- sudo apt-get install wine
2.安装winetricks
- wget http://kegel.com/wine/winetricks
改变权限,剪切到:/usr/local/bin
- chmod +x winetricks
- 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 **删除文件夹。
安装Source Insight之前需要先安装Wine,然后用Wine去安装Source Insight。
1. 安装Wine
在终端输入以下命令:sudo apt-get install wine
安装完成之后会在你的用户主目录下生成一个隐藏的.wine目录,内容如下图:
drive_c 即相当于Windows系统中的C盘:
我们使用Wine安装的Windows程序就在Program Files目录下。
我们还可以使用winecfg命令来配置Wine:
2. 用Wine去安装Source Insight
首先下载好Source Insight的安装包,比如我的安装包名称是:/home/CC/SourceInsight/sourceinsight_Setup_3.5.72.0.exe,然后使用命令:wine /home/CC/SourceInsight/sourceinsight_Setup_3.5.72.0.exe 就可以安装了。
怎么启动Source Insight软件呢?
首先找到Source Insight的安装目录,如上面所说的用Wine安装的windows程序的目录在:/home/cc/.wine/drive_c/Program Files/下,所以,我们的Source Insight的安装目录就在/home/cc/.wine/drive_c/Program
Files/Source Insight 3下,在此目录下会有一个Source Insight的启动程序,即:Insight3.exe,然后运行命令:wine Insight3.exe即可启动Source Insight。
如图:
ok!
www.linuxidc.com/Linux/2012-07/65603.htm
ubuntu下sourceinsight的安装的更多相关文章
- Ubuntu下git的安装与使用
Ubuntu下git的安装与使用 Ubuntu下git的安装与使用与Windows下的大致相同,只不过个人感觉在Ubuntu下使用git更方便. 首先,确认你的系统是否已安装git,可以通过git指令 ...
- Ubuntu下Speedtest的安装
要安装Speedtest,需要先安装apache,参见<Ubuntu下Apache的安装>一文:*(再安装LAMP server,参见<Ubuntu下快速安装LAMP server& ...
- Ubuntu下Apache的安装
Ubuntu下可快速安装LAMP server(Apache+MySQL+PHP5),参见<Ubuntu下快速安装LAMP server>一文. 也可以手动安装Apache.本文介绍如何手 ...
- Linux(Ubuntu)下MySQL的安装与配置
转自:http://www.2cto.com/database/201401/273423.html 在Linux下MySQL的安装,我一直觉得挺麻烦的,因为之前安装时就是由于复杂的配置导致有点晕.今 ...
- ubuntu下的openfire安装、配置、运行
openfire服务器 Openfire 采用Java开发,开源的实时协作(RTC)服务器基于XMPP(Jabber)协议.您可以使用它轻易的构建高效率的即时通信服务器.Op ...
- ubuntu下boost编译安装
ubuntu下boost编译安装 boost 安装 1.依赖安装 apt-get install mpi-default-dev libicu-dev python-dev python3-dev l ...
- 2010-01-20 12:09 ubuntu下minicom的安装及使用
转http://hi.baidu.com/npugtawqdnbgqrq/item/106f805409b42813db163527 ubuntu下minicom的安装及使用 安装: sudo apt ...
- ubuntu 下redis的安装简介
Linux公社:https://www.linuxidc.com/topicnews.aspx?page=2&tid=2 简单介绍下ubuntu下redis的安装方式: 第一种: 1:进入re ...
- ubuntu下tomcat的安装及注册成系统服务
在ubuntu下tomcat的安装有两种方式,第一种是下载二进制文件,解压安装:第二种则是使用apt-get自动下载.这里不推荐第二种方法安装,因为这种方法安装会像天女散花一样把安装的文件散落在系统的 ...
随机推荐
- 《UNIX网络编程》daytimetcpcli测试
对于刚刚接触网络的人来说,<UNIX网络编程>中第一个例子(daytimetcpcli)可能就测试不通过.也许你试着继续向后读来,自己写一个服务程序来解决这个问题,但是daytime服务也 ...
- Apache 的 httpd.conf 注释
ServerRoot “/usr/local“ ServerRoot用于指定守护进程httpd的运行目录,httpd在启动之后将自动将进程的当前目录改变为这个目录,因此如果设置文件中指定的文件或目录是 ...
- zookeeper 配置文件注释
tickTime=2000 initLimit=5 syncLimit=2 dataDir=/opt/shencl/zookeeper/data/data0 dataLogDir=/opt/shenc ...
- php gizp压缩传输js和css文件
1. [代码][PHP]代码 <?php /** * 完整调用示例: * 1.combine.php?t=j&b=public&fs=jslib ...
- js操作url的常用函数
1. //替换指定传入参数的值,paramName为参数,replaceWith为新值 function replaceParamVal(oUrl,paramName, replaceWith) { ...
- html怎样可是使文本框内容不可修改
html怎样可是使文本框内容不可修改 <input type="text" readonly="readonly" onfocus="alert ...
- 分享知识-快乐自己:Shrio 案例Demo概述
Shiro 权限认证核心: POM:文件: <!--shiro-all--> <dependency> <groupId>org.apache.shiro</ ...
- JS使用模板快速填充HTML控件数据
function formatTemplate(dta, tmpl) { var format = { name: function(x) { return x ; } }; return tmpl. ...
- sublime text _注册码
转自:https://9iphp.com/web/html/sublime-text-3-license-key.html 使用方法 打开 Sublime Text 3 的 “Help”–“Enter ...
- js string.format 方法
String.prototype.format = function(args) { var result = this; if (arguments.length > 0) { if (arg ...