Install wine and sourceinsight in ubuntu12.04
1. Install wine
Sudo apt-get install wine
2. Install source insight
Copy the executable file installed by source insight to ubuntu. I copied ~ /Desktop.
Run commands
Wine ~ /Desktop/Si35Setup.exe
Among them, si35setup.exe is the name of the source insight installation package. The installation process is the same as that of windows.
3. Create a project
Search wine to start Configure Wine
Add a path so that source insight can be seen only when the project is created.
4. Start source insight to create a project
Run the command to start source insight. The project is the same as that for windows.
Wine "c: \ Program Files \ Source Insight 3 \ Insight3.exe"
5. Compile a simple script to enable source insight every time
#! /Bin/bashwine "c: \ Program Files \ Source Insight 3 \ Insight3.exe"
Add the script to the path where the user looks for the command ~ /. The path of the script is added at the end of profile.
Vim ~ /. Profile
Add the lujin/home/liuwei/work of the script in the last line. After logging out, you can run the script name to start source insight. The Script Name Is insight. sh, so after I log on to the terminal, enter insight. sh to start source insight.