OldOs.org, your place for computing fun, old and new!
 Wine for Linux 

    Wine for Linux

Wine is a set of libraries for Linux that lets you run quite a few Windows applications on Linux. Note that not all applications are supported, and the list of supported applications is increasing gradually. There are two methods of installing Wine: installing from RPM/apt and compiling it yourself. Compiling yourself is good if you want a copy of Wine that has been custom tailored to your system. In my opinion, Wine is one of those apps that should be required since it needs all the speed it can get. Plus, compiling is quite pain-free and only takes about 20 minutes. This guide will show you how to compile Wine yourself, and set it up for use.


1) A working Linux install.
2) Your root password(needed to install)
3) The standard GNU toolchain: gcc, make, cvs, etc...


1) Grab the source for Wine by opening a Terminal, and perform the following commands: export CVSROOT=:pserver:cvs@cvs.winehq.org:/home/wine press Enter, then cvs login press Enter. When asked for a password, use "cvs" without the quotes. Now type cvs -z 0 checkout wine press Enter.

2) The source code for Wine will be stored in a folder named "wine". Type cd wine press Enter.

3) Now the wineinstall script must be called. This script performs ./configure, make depend, make, and make install, all in one shot. Make sure you are in the wine folder, and type ./tools/wineinstall. 4) The ./configure script will run first, checking your system to make sure it has everything required to build Wine successfully. If it does not, you will need to use your distributions package manager(Mandrake Control Center in Mandrake, YaST on SuSE, apt-get on Debian, and emerge on Gentoo). Then the make depend script will run. After that, the make script will run. This takes the longest time, so go watch TV or eat dinner while its running.

5) Wine will search for any existing Windows installations. Even though you may already have Windows installed on another disk, it is not good to use that unless you have to run a specific app. When it asks you if you want to use the existing Windows install, say no. Using the Wine-compiled Windows libraries is better and more stable. And a Windows NT-based OS wont work with Wine. It will then ask you if you want to make ~/.wine/config. Say yes. When it asks for the location of the C:\ drive, use the default: /home/USERHERE/c. I found using /home/USERHERE/.wine/c_drive causes problems with the registry installation. After that, Wine will be installed.

6) Now you have to edit your Wine configuration file. Use a text editor to edit /home/USERHERE/.wine/config. Scroll down to where it says [Version] and remove the semicolon before "Windows" = "win98". Remove the semicolon in front of "DOS = "6.22" as well. Note that changing the DOS version doesnt do much, but you can change the Windows version if desired.

7) Scroll up to where it says [Drive A] and make sure the "Device" line is set correctly. Your distribution may not use /dev/fd0, but most do.

8) Go to the [Drive D] section and make sure the "Device" = ... is set correctly. Mandrake uses /dev/cdroms/cdrom0.

9) Type cd ~/c/windows/system and then type wine winmine.exe. Minesweeper should pop up. Either play or quit and get work done(as if anybody works :P).

  • Unordered list

Old Os Site Version 8.0
Edit - History - Print - Recent Changes - Search
Page last modified on May 23, 2006, at 03:09 PM