How to use wine in linux

Source: Internet
Author: User
Article Title: how to use wine in linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Wine is a tool used to execute some Windows applications in Linux. If you run "wine path/file name .exe" on a Linux terminal, you will be surprised to find that the program that can only be executed on the Windows platform actually runs in Linux. Of course, the program interface is not a familiar Windows 9x style, but an authentic Windows 3. x style. In Linux, I successfully run Winamp (Ver2.61) and ACDsee32 (Ver 3.0 trial). Unfortunately (and inevitably) Some applications under Windows 9x, such as Photoshop, 3 DMax, but it cannot run. However, at present, there are far more Linux operating systems sold in China than applications running under them. When Linux software (chip browsing and multimedia playback) is scarce, it is also a good way to "move" Some Windows programs to a Linux environment. The following describes how to use wine.

1. To run Windows programs in Linux, wine is essential. Therefore, install wine in your system.

2. Load the partition where your Windows is located to a directory. (This document assumes that the directory is/mnt/c ).

3. Modify wine. conf. This is also the most critical step. In wine. conf, the system has five drives by default:

A. the soft drive corresponds to the loading point/mnt/fd0 of the soft drive in Linux;

C. The partition of windows, corresponding to/c;

D, CD-ROM, corresponding to/cdrom;

E, temporary partition, corresponding to/tmp;

F, network drive.

First, you must specify the path of your Windows. Otherwise, wine will not work. Open/etc/wine. conf in any text editor, find [Drive c], and change Path =/c to Path =/mnt/c. If the paths corresponding to other drives are different from those in your system, you should change them to the actual paths in your system. So far, wine can basically run. Run "wine Winamp.exe" to run Winamp. Of course, your system must be audible. At this time, if you open A file in Winamp, you will find that only four Drives A, C, D, E, and F are available in the drop-down box of the selected path. If you want to easily use it in Windows, you must map all the partitions to the corresponding drive name. Format:

[Drive M] (M is the Drive name, for example, c, d, e, f ...)

Path =/xyz (/xyz is the loading point of a partition in Linux)

Type = abc (abc is the drive Type, floppy is the soft drive, hd is the hard drive, cdrom is the optical drive, and net is the network)

Label = labelname (labelnemae is the volume Label)

Filesystem = win95

Device =/dev/hdxy (x indicates the number of the physical hard drive. The first primary disk is a, the first slave disk is B, and y indicates the logical partition number. The primary partition is 1, logical partitions start from 5. For example, if my brother is lucky enough? Is/dev/hda1, d is/hda5, e is/hda6 ...). Of course, if a drive is inserted somewhere, the subsequent drive should also be modified accordingly.

Finally, find [wine], for Temp = e: \, Path = c: \ wineows; c: \ windows \ system \; e: \ test; f:.

After the preceding modification, Run "wine Winamp.exe", which is as convenient as using it in Windows.

Related Article

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.