Reprinted from blog.csdn.net/zzobin/article/details/7376616
1. Install wine
View: Http://wiki.ubuntu.org.cn/Wine
Java code
- sudo apt-get install wine
Because the version is older, it is usually not necessary to use wine in the PPA.
Install the latest version of wine
The official Ubuntu comes with wine, but the latest version of wine is recommended with the official WINEHQ, and the new version solves a lot of problems that previously seemed troublesome.
PPA Address: Https://launchpad.NET/~ubuntu-wine/+archive/ppa
Java code
- sudo add-apt-repository Ppa:ubuntu-wine/ppa
- sudo apt-get update
- sudo apt-get install wine
2. Installing Winetricks
Java code
- wget http://kegel.com/wine/winetricks
Change permissions, cut to:/usr/local/bin
Java code
- chmod +x Winetricks
- sudo mv Winetricks/usr/local/bin
Using winetricks, install software, such as install. net2.0 Frame
Java code
- Winetricks dotnet20
3. Install Source Insight
: http://www.sourceinsight.com/downeval.html
Use the command wine *.exe (newly downloaded source Insight software) to start installing source insight
Application/wine/programs Open Source Insight in Ubuntu
Create a new project and import the Android source code.
4. Uninstall wine
Delete primary file
Java code
- sudo apt-get remove--purge wine
Delete residual files
(1) Delete the corresponding file in the. Config/menus Directory
(2) Delete the relevant files under the. config/menus/applications-merged Directory
(3) Open the. config/menus/applications.menu file to delete wine-related content in the file.
(4) Delete the following three files:
/usr/share/app-install/desktop/wine.desktop
/usr/share/app-install/desktop/wineconfig.desktop
/usr/share/app-install/desktop/winefish.desktop
(5) Delete content related to wine and wine in the following three directories:
~/.local/share/applications
~/.local/share/desktop-directories
~/.local/share/icons
(6) Delete ~/.wine
Note:. config,. Wine,. Local are all in the user directory (typically hidden), you can use Ls-al to display all files in the current directory at the terminal, and then use rm-f * * To delete files, use RM-FR * * to delete folders.
5. More Wine configuration
http://forum.ubuntu.org.cn/viewtopic.php?t=107816
Before installing source insight, you need to install wine and then use wine to install Source insight.
1. Install wine
Enter the following command at the terminal:sudo apt-get install wine
After the installation is complete, a hidden. Wine directory is generated in your user's home directory , such as the following:
The Drive_c is equivalent to the C drive in the Windows system:
The Windows program we installed with wine is in the programs Files directory.
We can also use the winecfg command to configure wine:
2. Use wine to install Source Insight
First download the Source Insight installation package, such as my installation package name is:/home/cc/sourceinsight/sourceinsight_setup_3.5.72.0.exe, and then use the command:wine/ The Home/cc/sourceinsight/sourceinsight_setup_3.5.72.0.exe can be installed.
How do I start the source insight software?
First find the Source Insight installation directory, as described above in wine installed Windows program directory in:/home/cc/.wine/drive_c/program files/ , so, The installation directory of our source insight is under /home/cc/.wine/drive_c/program files/source Insight 3 , which will have a source in this directory Insight startup program, namely:Insight3.exe, then run the command:wine Insight3.exe can start source Insight.
Ok!
Www.linuxidc.com/Linux/2012-07/65603.htm
Installation of Sourceinsight under Ubuntu