Windows program installation in Linux

Source: Internet
Author: User

Install and configure wine

The source wine is 0.9.59 and has been updated to 0.9.61.

1. Enter sudo apt-Get install wine in the command line. You can also download the source code and compile it on the wine official website. This will reduce problems caused by dependency.

2. After installation, You need to configure the command line and enter winecfg

Configuration errors may occur because some packages are missing

Try entering sudo apt-Get install build-essential and

Sudo apt-Get install GCC libc6-dev fakeroot libglib1.2-Dev
Libglib2.0-dev libltdl3-dev libmad0-dev libmng-dev libodbcinstq1c2
Libogg-dev libpng12-dev libqt3-headers libqt3-mt-dev libvorbis-Dev
Libxft-dev libxi-dev libxinerama-dev libxmu-headers
Libxmuu-dev libxpm-dev libxtrap-dev libxtst-dev libxv-Dev
Libxxf86dga-dev qt3-dev-tools render-dev unixodbc-dev X-Dev
X11proto-record-dev x11proto-trap-dev x11proto-video-dev
X11proto-xf86dga-dev xlibs-dev fontforge flex bison libxext6

3. Set Chinese questions

First put the font simsun. TTC (found in the font folder in your Windows installation directory, you can not find it from the Internet) to/home/your username /. in the wine/drive_c/Windows/fonts folder, press Ctrl + H to display the hidden folder.

Modify the registry and enter gedit ~ in the command line ~ /. Wine/system. Reg

Find [system // CurrentControlSet // hardware
Profiles // current // software // fonts] ", change" "logpixels" = DWORD: 00000060"
"Logpixels" = DWORD: 00000070 ".

Find the "[software/Microsoft // Windows NT // CurrentVersion // fontsubstitutes] XXXX" item, modify the two items related to "Ms shell DLG" to the following (that is, change the font to ):

"MS shell DLG" = "simsun"
"MS shell DLG 2" = "simsun"

Then: gedit ~ /. Wine/drive_c/Windows/win. ini

Add (if not) in it, and modify it as follows:

[Desktop]
Menufontsize = 13
Messagefontsize = 13
Statusfontsize = 13
Icontitlesize = 13

Now the Chinese display is normal.

4. Usage: run the .exe installation file directly. Wine sets the association by default. If not, set it by yourself.

After installation, you can find it in the Application --> wine menu, or you can put/home/your username/. Wine/drive_c/program files into the Green Edition of the software.

5. Install the. MSI Format File wine start file name. MSI

6. To uninstall the installed software, enter uninstaller in the command line to enter the uninstall graphical interface.

7. Some programs cannot run, sometimes due to the lack of DLL

Copy the mfc42.dll, msvcp60.dll, riched1_dll, and riched32.dll files to the System32 folder (C:/Windows/systenm32) in Windows to/home/your username /. in the wine/drive_c/Windows/system32 file, it must be overwritten. Do not overwrite other DLL files. Back up the files.

Install thunder in wine without using ies4linux. If any problem occurs, you can simulate Win98 in wine settings.

However, after my thunder is installed, things will crash. I still don't know how to solve it, but there are examples of success on the Internet.

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.