Ubuntu10.04 use wine to install sourceinsight
1. Environment: ubuntu10.04
2. Install wine
For more information about wine, see here. Network-based installation:
$ Apt-Get install wine
3. Install sourceinsight
Download the sourceinsight installation package. After the download is complete, use wine for installation.
$ Wine insightsetup.exe
How to install
The serial number is the same as that of the network ):
SI3US-956386-80191
SI3US-840598-11493
SI3US-404808-04697
SI3US-510811-93484
SI3US-343066-11287
4. Write a script to quickly start
Input on the terminal
Wine "C: \ Program Files \ source insight 3 \ insight3.exe" to start Source
Insight
. However, it is annoying to input this string every time you start it. Therefore, you need to write a script to start it directly, just like a common command.
Create
Sourceinsight. Sh script:
$ Cat ~ /. Sourceinsight. Sh
Function sourceinsight (){
Wine
"C: \ Program Files \ source insight 3 \ insight3.exe"
}
Modify ~ /. Bashrc, add the following content 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 on 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