Before you install Wine make sure there is no previous Wine installation on your system.
Many Linux distributions come with a Wine package, but this is usually a very old and sometimes broken version, so it is better to uninstall the old version and install a newer one. Refer to your distributions documentation on how to remove packages.
YYYYMMDD is the version of wine in Year Month Day format.
1. Download:
You can download the latest Wine version here or the latest source from here.
2. Installation
o From Source
Extract the downloaded file:
tar zxvf Wine-YYYYMMDD.tar.gz
This will create a new directory, enter this directory, they type:
./tools/wineinstall
o From Binary
§ RPM based
rpm -i wine-YYYYMMDD-i386.rpm
§ Debian
apt-get install wine
3. Configuration
In order to run Wine needs some files and directories.First you must create a virtual ('fake') windows driveThe following directories must exist in your $HOME directory:
.wine/
.wine/c_drive.wine/c_drive/Windows.wine/c_drive/Windows/Fonts.wine/c_drive/Windows/Start Menu/Programs.wine/c_drive/Windows/System.wine/c_drive/Windows/System32.wine/c_drive/Windows/Temp.wine/c_drive/Program Files.wine/c_drive/Program Files/Common Files
After this copy the following files from wine-YYYYMMDD/documentation/samples to $HOME/.wine/Windows:
system.iniwin.ini
All applications will be installed on this fake Windows drive. Refered to C: inside of Windows applications.
Wine also needs a configuration file. Copy the file config from wine-YYYYMMDD/documentation/samples to $HOME/.wine.
4. The Wine configuration file
The config file is pretty self explanatory, just take a look at it. The only thing you probably have to change is the mountpoint of the cdrom drive.You can get more information by typing:
man wine.conf
morl