Install sourcesinsight under ubuntu16.04

Reference: https://blog.csdn.net/qq_22122811/article/details/66975946

参考1http://blog.csdn.net/yunfeiyang62/article/details/46662633

参考2http://blog.csdn.net/imyang2007/article/details/7654700

 

   I am accustomed to editing and reading the source code under source insight. Using vi under linux always does not work well. I still use the familiar source insight on ubuntu .

In ubuntu , install the windows program with wine , and then use wine to install the windows software.

 

1. Install wine and
enter the following command in the terminal:

# sudo apt-get install wine  

 

2. Install Source Insight with wine

Download address: http://www.liangchan.net/soft/softdown.asp?softid=3947

Download resources: hf_sourceinsight3.5.rar

Enter command:

# rar x hf_sourceinsight3.5.rar

# wine  si35Setup.exe

Start the installation process similar to Windows :

Keep going to the next step, OK' just fine!

To enter the registration code: enter SI3US-361500-17409

 

3. How to open SourceInsight ?
After the project is imported and sourceInsight is closed, how can I open SourceInsight again ? At this time, I found that I don't know where wine is installed on the terminal, and where is the installation directory of SourceInsight ?
First enter the command in the terminal

# cd ~  

# ll  

Found an extra hidden directory:
# .wine/

 

Go in and see:

# cd .wine/  

# ll  

It is found that there are the following directories:
dosdevices drive_c system.reg userdef.reg user.reg
where drive_c defaults to the C drive under Windows , open and enter this directory to see:

 

# cd drive_c  

# ls  


At this point, you can basically understand what's going on, open Program Files :

# cd Program\ Files/  

# ls  

 

Enter the command in the terminal:  

# wine Insight3.exe  

 

Open Source Insight successfully !

hot key:

wine ~/.wine/drive_c/Program\ Files/Source\ Insight\ 3/Insight3.Exe

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324798353&siteId=291194637