A little Wine with your Linux?
Published: 07 Oct 2003 13:00 BST
Five words sum it up: "Wine is not an emulator." This is also a clever acronym for the program Wine, which can help you run your Windows programs under Linux. Wine is an implementation of the Windows API that allows programs using the API to run on an operating system that doesn't natively support the application. It's important to note that Wine doesn't emulate a full x86 system but rather provides the software APIs that make it possible to run Windows programs. This allows a program to run at full speed, since no emulation is taking place. Emulation generally slows down software.
Let's install Wine on a Linux system, attempt to install an ordinary Windows application, and take a look at how well it works.
Downloading and installing
I'm using Red Hat Linux 9 for this article, so I'll download and install the latest RPM distribution of Wine from the Wine Web site. I need a version of Wine that supports glibc 2.3, and at the time of this writing, the version available on the Wine site supports only glibc 2.2. However, the Wine site offers a link to Source Forge, which hosts the version I need.
To install the RPM version of Wine that I downloaded for my Athlon-based system running Red Hat 9, I use the following command:
rpm -i wine-20030911-1rh9winehq.athlon.rpm
If you have a different version of Red Hat or a different processor, be sure to download the appropriate file and modify this command accordingly. On my system, which is pretty standard, the installation went smoothly.
What did it do?
Upon initial installation via RPM, Wine is configured and ready to start running Windows programs. In fact, Wine installs a couple of common Windows apps, such as Notepad and the (all-important) game Minesweeper.
Wine requires a "C: �drive" onto which Windows applications are installed. This is handled by the creation of a folder in /usr/share named wine-c. If you decided to compile Wine rather than use the RPMs, this location may be different. Figure A shows the familiar contents of this location on my testing lab's Red Hat 9 system. As you can see, the common Windows directories have been created; Wine uses these directories for program installation.
Full Talkback thread
13 comments
-
Nice but your review is neither complete nor corre... Walter Thomas -
Talking about Wine and Codeweavers to run Windows... Anonymous -
I knew from the first line that this was going to... Anonymous -
err... CrossOver Ofiifce IS Wine. It's just a comm... Anonymous -
Rather incomplete. It is true that just downloadi... Randy Ennis -
What's with all this running Windows apps under Li... Anonymous -
Umm, crossover office uses wine. All codeweavers c... Tormak -
The real benefit of wine (and even better, wineX)... TIM -
I got to page two of the article then gave up.
I h... Chris Gibson -
The Wine developers seem to agree with the review;... Dan Kegel -
I generally don't know why people get so aggressiv... Marcin 'Rambo' Roguski -
although i understand the problems the author had,... Stefan -
Of course not! Abondon such stupid projects and u... Tuxic






