Ubuntu10.04 uses wine to install SourceInsight
1. Environment: ubuntu10.04
2. Install wine
About wine, please refer to here . Install via network:
$ apt-get install wine
3. Install SourceInsight Download
the SourceInsight installation package here . After the download is complete, install it with wine.
$ wine InsightSetup.exe
The installation method is the same as in windows, the serial number (optional one, from the network):
SI3US-956386-80191
SI3US-840598-11493
SI3US-404808-04697
SI3US-510811-93484
SI3US-343066-11287
4. Write a script to start quickly
Enter wine "c:\Program Files\Source Insight 3\Insight3.exe" on the terminal to start Source Insight. But needing to enter this large string of characters every time it starts is very annoying, so you need to write a script to start it directly, just like a normal command. Build the SourceInsight.sh script:
$ cat ~/.SourceInsight.sh
function SourceInsight() {
wine "c:\Program Files\Source Insight 3\Insight3.exe"
}
Modify ~/.bashrc and add the following to the end of the file:
$ cat ~/.bashrc
# Add by Eddy for using SourceInsight, +
source ~/.SourceInsight.sh
# Add by Eddy for using SourceInsight, -
In this way, you can directly use the command SourceInsight to start source insight every time you log in to the terminal, which is very convenient.
$ SourceInsight
References:
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
Reprinted from: http://www.cnblogs.com/eddy-he/archive/2012/03/08/ubuntu_wine_sourceInsight.html