I am used to editing and reading the source code under source insight. in Linux, it is always difficult to use VI, or to use source insight on Ubuntu.
In ubuntu, install Windows program with wine, and then use wine to install Windows software.
Install wine
Enter the following command on the terminal:
Sudo apt-Get install wine
Install source insight with wine
Enter the following command in the terminal:
Wine ~ /Sourceinsight/insightsetup.exe
Note: The installation package of sourceinsight must be downloaded by yourself, which is the same as that of windows.
Import the project, which is similar to Windows.
Figure:
How to open sourceinsight?
After the project is imported and sourceinsight is disabled, how can I open sourceinsight? At this time, I found that I don't know where to install wine on the terminal, and where is the installation directory of sourceinsight?
First enter the command in the terminal
Cd ~
Ll
Multiple Hidden directories are found:
. Wine/
Go in and see:
CD. Wine/
Ll
The following directories are found:
Dosdevices drive_c system. Reg userdef. Reg user. Reg
Drive_c is the drive C under Windows by default. Open the drive to this directory and check it:
CD drive_c
Ls
Now you can basically understand what is going on. Open program files:
CD program \ files/
Ls
Finally, I found it. Open it and see:
========================
CD source \ insight \ 3/
Ls
Enter the following command on the terminal:
Wine insight3.exe
Source insight is successfully opened!
Note: I just found myself busy for a long time. After installing wine, I have a wine option in the System menu, you can directly open source insight (wine-> Programs-> source insight3-> source insight 3.5 :(
Install and use source insight