ubuntu-ubuntu10.04使用wine安装SourceInsight

http://www.cnblogs.com/eddy-he/archive/2012/03/08/ubuntu_wine_sourceInsight.html

1. 环境:ubuntu10.04
2. 安装 wine

  关于 wine ,请参考这里。通过网络安装:

$ apt-get install wine

3. 安装 SourceInsight
  在这里下载 SourceInsight 安装包。下载完成后,用 wine 安装。

$ wine InsightSetup.exe

安装方法与在 windows
一样,序列号(任选其一,来源于网络):

SI3US-956386-80191
    SI3US-840598-11493
    SI3US-404808-04697
    SI3US-510811-93484
    SI3US-343066-11287

4. 编写脚本快速启动
  在终端上输入

wine "c:\Program Files\Source Insight 3\Insight3.exe" 即可启动 Source
Insight
。但是每次启动都需要输入这一大串字符,是一件非常让人恼火的事,所以需要编写一个脚本来直接启动它,就像普通命令一样。
  建立

SourceInsight.sh 脚本:

$ cat ~/.SourceInsight.sh
function SourceInsight() {
    wine
"c:\Program Files\Source Insight 3\Insight3.exe"
}

  修改 ~/.bashrc ,添加下面内容到文件末尾:

$ cat ~/.bashrc
# Add by Eddy for using SourceInsight, +
source ~/.SourceInsight.sh
# Add by Eddy for using SourceInsight, -

这样每次登陆终端都可以直接使用命令 SourceInsight 来启动 source insight 了,非常方便。

$ SourceInsight

参考资料:
http://zh.wikipedia.org/wiki/Wine
http://bbs.ednchina.com/BLOG_ARTICLE_2097734.HTM
http://blog.csdn.net/liushaogeng/article/details/5853665
http://www.linuxidc.com/Linux/2010-07/27137.htm

Ubuntu配置Wine教程

http://www.cnblogs.com/LiteraturePan/archive/2012/04/29/2476383.html

安装流程(测试环境 Ubuntu 11.10)

1.点击屏幕右上角的电源图标,在弹出列表里选择“系统设置”;

2.选择“软件源”,进入后,选择“其他软件”标签,再点击“添加”按钮;

3.点击“添加”按钮后,输入“ppa:ubuntu-wine/ppa”,输入完毕后点击“添加源”,完成后关闭此窗口;

4.按Ctrl+Alt+T组合建,在“终端”中输入“sudo add-apt-repository ppa:ubuntu-wine/ppa”,回车;

5,完成后,输入“sudo apt-get update”,回车;

6.上一个完成后,请输入“sudo apt-get install wine1.3”,回车;

7.安装询问,选择“Y”,回车;

8.全部安装完成。

yingc@yingc:~$ cat ncauto.sh
#!/bin/sh

wine /home/yingc/.wine/drive_c/Program\ Files/Source\ Insight\ 3/Insight3.exe
#wine ~/.wine/drive_c/Program\ Files/Microsoft\ Office/Office12/VISIO.EXE
yingc@yingc:~$

wine的使用的更多相关文章

  1. 记录在linux下的wine生活

    记录在linux下的windows生活 本篇内容涉及QQ.微信.Office的安装配置 QQ: 到deepin下载轻聊版. 如果安装了crossover,那么将其中opt/cxoffice/suppo ...

  2. linux Mint wine安装qq,桌面快捷键配置

    在桌面新建qq.desktop文件,添加以下内容 #!/usr/bin/env xdg-open[Desktop Entry]Comment=QQTerminal=falseName=QQExec=w ...

  3. Wine——在Linux上运行Windows软件

    官网:https://www.winehq.org/ 参考: wikipedia 教你使用Wine在Linux上运行Windows软件 如何安装和使用Wine,以便在Linux上运行Windows应用 ...

  4. linux安装wine

    1.添加PPA sudo add-apt-repository ppa:ubuntu-wine/ppa 2.更新列表 sudo apt-get update 3.安装Wine sudo apt-get ...

  5. CentOS 安装 Wine

    1. 下载安装包 Wine的中文官网可以下载到最新稳定和开发版本的Wine安装包,根据不同需求可以自行下载 2. 解压安装包,编译前检查 根据不同的平台选择不同的编译选项: For 32-Bit Sy ...

  6. wine

    sudo dpkg --add-architecture i386 sudo add-apt-repository ppa:wine/wine-buildssudo apt-get update su ...

  7. 64位CentOS源码编译方式安装wine

    说明:本文仅作本人笔记的之用,仅供参考.可能因不同环境而不同. 1. 从官网下载最新版的wine-1.6.2.tar.gz 2. 安装相关的包(这里是我安装的,可能由于不同系统已经安装的包不同而不一样 ...

  8. CentOS彻底卸载wine

    说明:折腾啊折腾,装了卸,卸了装,哈哈. 1. 卸载wine及相关组件 yum remove wine* 2. 删除相关文件 ~/.wine ~/.local/share/applications / ...

  9. ubuntu linux 下wine的使用

    ubuntu linux 下wine的使用 之前写了一篇 ubuntu15.10下编译安装wine1.8rc4 这一篇是来写它的使用的. 1.安装Wine支持包 现在,需要安装非开源(但免费)的支持包 ...

  10. [Ubuntu] ubuntu10.04系统维护之Wine的安装

    在介绍安装wine之前,我想是有必要先介绍一下Wine的.当然,如果是Liunx的高手,我想是没必要看的,但是对于笔者这样的菜鸟级人物还是需要看一下的. Wine是一款Liunx下的模拟器软件,但是W ...

随机推荐

  1. ASP.NET MVC HttpVerbs.Delete/Put Routes not firing

    原文地址: https://weblog.west-wind.com/posts/2015/Apr/09/ASPNET-MVC-HttpVerbsDeletePut-Routes-not-firing ...

  2. 通过maven-war-plugin插件对war包分环境打包

    针对多环节,从源头打包入手,当然这些都可以在运维阶段用脚本进行替换来代替 resources/environment/下有四个环境,local本地.dev开发.test测试.pre预上线.prod生产 ...

  3. Tasker 模拟重复点击按钮

    http://stackoverflow.com.80bola.com/questions/21544271/android-tasker-app-advance-input-shell-comman ...

  4. Digital Adjustment of DC-DC Converter Output Voltage in Portable Applications

    http://pdfserv.maximintegrated.com/en/an/AN818.pdf http://www.maximintegrated.com/app-notes/index.mv ...

  5. STLink download/debug interface for Linux.

    http://arm-utilities.googlecode.com/svn-history/r47/trunk/stlink-download/stlink-download.c /* STLin ...

  6. Eclipse:引用一个项目作为类库(图文教程)

    前言:项目TestRoid要引用Volley项目作为类库 步骤如下:   一:选择导入Android项目 二:选择Volley项目路径导入   三:右击Volley项目,点击Properties 四: ...

  7. pytest文档26-运行上次失败用例(--lf 和 --ff)

    前言 "80%的bug集中在20%的模块,越是容易出现bug的模块,bug是越改越多"平常我们做手工测试的时候,比如用100个用例需要执行,其中10个用例失败了, 当开发修复完bu ...

  8. [翻译] Haneke(处理图片缓存问题)

    Haneke https://github.com/hpique/Haneke A lightweight zero-config image cache for iOS. 轻量级0配置图片缓存. H ...

  9. Lambda与委托

    Lambda 表达式是一个可用于创建委托或表达式树类型的匿名函数. 通过使用 lambda 表达式,可以可作为参数 或 返回为函数调用值的本地函数.Lambda 表达式对于编写 LINQ 查询表达式特 ...

  10. 解决 Ubuntu Software (Software Center) Crash 问题

    问题描述: no application data found 解决方式: sudo apt purge gnome-software ubuntu-software sudo apt autorem ...