Installing and configuring Wine
Again the easiest option is to install Wine from your distribution's repositories. Some distributions even feature an already wine-rt patched Wine.
- Arch Linux: Arch Linux has an up to date patched Wine in its AUR (Arch User Repository): http://aur.archlinux.org/packages.php?ID=40169. Either install it manually with makepkg or use an utility like yaourt to automate the process.
- KXStudio: KXStudio's add on repositories http://kxstudio.sourceforge.net/ overide your normal distribution's repositories and features an already patched Wine. Just add the repositories and install or update Wine.
Building from source and patching with wine-rt
These instructions are for installing a 32bit wine on a 32 or 64bit linux system, and they assume that you want to install Wine into /usr/local and the wine libs into /usr/local/lib32.
- Your system has all development tools installed
- Your system has has all the libraries and source code needed to build Wine installed, see: http://wiki.winehq.org/Recommended_Packages
- You have created a sub directory called src in your home directory
- You have downloaded a tarball of the Wine source code as well as the wine-rt patch http://dl.dropbox.com/u/879835/wine-rt-101107.patch there.
On the command line type the following:
- cd ~/src - change to your source code directory
- tar xjvf wine-x.x.xx.tar.bz2 - extract the archive into a sub directory (where the x's stand for the version number)
- cd wine-x.x.xx - change into the Wine source directory
- patch -Np1 -i ../wine-rt-101107.patch - patch the Wine source code
- ./configure --prefix=/usr/local --libdir=/usr/local/lib32 - configure with the desired build options
- make - build Wine
- sudo make install - install on your system (optional, see Running Wine from the build directory)