Install wine and source insight, ubuntu12.04insight in ubuntu12.04

Source: Internet
Author: User

Install wine and source insight, ubuntu12.04insight 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.




How does one install source insight in ubuntu1004?

What is installed by wine under the root permission?
Where can I install it first? There is insight3.exe in the file behind the installation, and an error may be reported directly;
Make a link to insight3.exe and change the name of the link to your convenience (I changed it to si35 ), cut or copy the link to/usr/bin or/usr/local/bin (the root permission may be required for the cut or copy process. Enter nautilus on the terminal to obtain the root permission for the graphic interface ); enter the name of your link in the terminal, for example, si35 (possibly under root permission) to open source insight! This is my situation! Gl!
Ps: check if there is any wine under applications. If so, check if there is no link. It may be convenient to install it with wine under normal permissions.

Source insight35 cannot input Chinese characters in the code under ubuntu1204. Which of the following can help?

I have never used ubuntu. In Windows, note the following when Source Insight inputs Chinese:

1. Choose Options> Documents Options (shortcut: Alt + T)-> press the Screen Fonts button on the left and select a font that can display Chinese characters normally, for example, "" or "".
2. Choose Options> Preferences> Syntax Formatting tab> Use Syntax Formatting on the top. The following two items are available: Use only color formatting and Use no color formatting (monochrome) do not tick.
3. The Chinese content must appear in the document in the form of code comments, for example, in/**/format comments or after, otherwise, it may not be displayed normally.

Finally, Source Insight does not really exist for Chinese characters, including Japanese and Chinese characters, which are surprisingly incompatible. Please try to use English as much as possible. Otherwise, you may be confused.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.