2000-12-13 22:52:37 +01:00
|
|
|
<chapter id="introduction">
|
|
|
|
<title>Introduction</title>
|
|
|
|
|
2003-07-22 00:13:19 +02:00
|
|
|
<sect1 id="overview">
|
2003-04-01 05:26:13 +02:00
|
|
|
<title>Overview / About</title>
|
|
|
|
|
|
|
|
<sect2>
|
2004-10-25 23:47:42 +02:00
|
|
|
<title>Purpose of this document and intended audience</title>
|
|
|
|
<para>
|
|
|
|
This document, called the Wine User Guide, is both an easy
|
|
|
|
installation guide and an extensive reference guide. This guide
|
|
|
|
is for both the new Wine user and the experienced Wine user,
|
|
|
|
offering full step-by-step installation and configuration
|
|
|
|
instructions, as well as featuring extensive reference material
|
|
|
|
by documenting all configuration features and support areas.
|
|
|
|
</para>
|
2003-04-01 05:26:13 +02:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
2004-10-25 23:47:42 +02:00
|
|
|
<title>Further questions and comments</title>
|
2003-04-01 05:26:13 +02:00
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
If, after examining this guide, the FAQ, and other relevant
|
2004-10-30 04:12:05 +02:00
|
|
|
documentation there is still something you cannot figure out,
|
|
|
|
we would love to hear from you. The <ulink
|
2004-10-25 23:47:42 +02:00
|
|
|
url="http://www.winehq.org/site/forums">mailing lists</ulink>
|
|
|
|
section contains several mailing lists and an IRC channel, all
|
|
|
|
of which are great places to seek help and offer suggestions.
|
2004-10-30 04:12:05 +02:00
|
|
|
If you are particularly savvy, and believe that something can be
|
2004-10-25 23:47:42 +02:00
|
|
|
explained better, you can file a <ulink
|
|
|
|
url="http://bugs.winehq.org/">bug report</ulink> or <ulink
|
|
|
|
url="http://www.winehq.org/site/sending_patches">post a
|
|
|
|
patch</ulink> on Wine's documentation itself.
|
2003-04-01 05:26:13 +02:00
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Content overview / Steps to take</title>
|
2004-10-25 23:47:42 +02:00
|
|
|
<para>
|
|
|
|
In order to be able to use Wine, you must first have a working
|
|
|
|
installation. This guide will help you to move your system
|
|
|
|
from an empty, Wineless void to one boasting a fresh, up to
|
|
|
|
date Wine install. The first step, <link
|
|
|
|
linkend="getting-wine">Getting Wine</link>, illustrates the
|
|
|
|
various methods of getting Wine's files onto your computer.
|
|
|
|
The second step, <link linkend="installing">Installing
|
|
|
|
Wine</link>, details the various install processes available to
|
|
|
|
you. The third step, <link linkend="config-wine-main">Configuring
|
|
|
|
Wine</link>, shows how to customize a Wine installation depending
|
|
|
|
on your individual needs. The final step, <link
|
|
|
|
linkend="running">Running Wine</link>, covers the specific
|
|
|
|
steps you can take to get a particular application to run
|
|
|
|
better under Wine, and provides useful links in case you need
|
|
|
|
further help.
|
|
|
|
</para>
|
2003-04-01 05:26:13 +02:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|
2000-12-13 22:52:37 +01:00
|
|
|
<sect1 id="what-is-wine">
|
|
|
|
<title>What is Wine?</title>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Windows and Linux</title>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Different software programs are designed for different
|
|
|
|
operating systems, and most won't work on systems that they
|
|
|
|
weren't designed for. Windows programs, for example, won't run
|
|
|
|
in Linux because they contain instructions that the system can't
|
|
|
|
understand until they're translated by the Windows environment.
|
|
|
|
Linux programs, likewise, won't run under the Windows operating
|
|
|
|
system because Windows is unable to interpret all of their
|
|
|
|
instructions.
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
This situation presents a fundamental problem for anyone who
|
|
|
|
wants to run software for both Windows and Linux. A common
|
|
|
|
solution to this problem is to install both operating systems on
|
|
|
|
the same computer, known as "dual booting." When a Windows
|
|
|
|
program is needed, the user boots the machine into Windows to
|
|
|
|
run it; when a Linux program is then needed, the user then
|
|
|
|
reboots the machine into Linux. This option presents great
|
|
|
|
difficulty: not only must the user endure the frustration of
|
|
|
|
frequent rebooting, but programs for both platforms can't be
|
|
|
|
run simultaneously. Having Windows on a system also creates
|
2004-10-30 04:12:05 +02:00
|
|
|
an added burden: the software is expensive, requires a separate
|
2004-10-25 23:47:42 +02:00
|
|
|
disk partition, and is unable to read most filesystem formats,
|
|
|
|
making the sharing of data between operating systems difficult.
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
2003-04-01 05:26:13 +02:00
|
|
|
<title>What is Wine, and how can it help me?</title>
|
2000-12-13 22:52:37 +01:00
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Wine makes it possible to run Windows programs alongside any
|
|
|
|
Unix-like operating system, particularly Linux. At its heart,
|
2004-10-30 04:12:05 +02:00
|
|
|
Wine is an implementation of the Windows Application
|
2004-10-25 23:47:42 +02:00
|
|
|
Programing Interface (API) library, acting as a bridge between
|
|
|
|
the Windows program and Linux. Think of Wine as a compatibility
|
2004-10-30 04:12:05 +02:00
|
|
|
layer, when a Windows program tries to perform a function that
|
2004-10-25 23:47:42 +02:00
|
|
|
Linux doesn't normally understand, Wine will translate that
|
|
|
|
program's instruction into one supported by the system. For
|
|
|
|
example, if a program asks the system to create a Windows
|
|
|
|
pushbutton or text-edit field, Wine will convert that
|
|
|
|
instruction into its Linux equivalent in the form of a command
|
|
|
|
to the window manager using the standard X11 protocol.
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
<para>
|
2004-10-30 04:12:05 +02:00
|
|
|
If you have access to the Windows program's source code, Wine
|
2004-10-25 23:47:42 +02:00
|
|
|
can also be used to recompile a program into a format that Linux
|
|
|
|
can understand more easily. Wine is still needed to launch the
|
|
|
|
program in its recompiled form, however there are many advantages
|
2004-10-30 04:12:05 +02:00
|
|
|
to compiling a Windows program natively within Linux. For more
|
2004-10-25 23:47:42 +02:00
|
|
|
information, see the Winelib User Guide.
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
2004-10-25 23:47:42 +02:00
|
|
|
<sect2 id="wine-features">
|
|
|
|
<title>Wine features</title>
|
2000-12-13 22:52:37 +01:00
|
|
|
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Throughout the course of its development, Wine has continually
|
|
|
|
grown in the features it carries and the programs it can run.
|
|
|
|
A partial list of these features follows:
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Support for running Win32 (Win 95/98, NT/2000/XP), Win16
|
|
|
|
(Win 3.1) and DOS programs
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Optional use of external vendor DLL files (such as those
|
|
|
|
included with Windows)
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
X11-based graphics display, allowing remote display to any
|
|
|
|
X terminal, as well as a text mode console
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Desktop-in-a-box or mixable windows
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
DirectX support for games
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Good support for various sound drivers including OSS and ALSA
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Support for alternative input devices
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Printing: PostScript interface driver (psdrv) to standard
|
|
|
|
Unix PostScript print services
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Modem, serial device support
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Winsock TCP/IP networking support
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
ASPI interface (SCSI) support for scanners, CD writers,
|
2004-10-25 23:47:42 +02:00
|
|
|
and other devices
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Advanced unicode and foreign language support
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Full-featured Wine debugger and configurable trace
|
|
|
|
logging messages for easier troubleshooting
|
2000-12-13 22:52:37 +01:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
2003-04-01 05:26:13 +02:00
|
|
|
|
2004-10-25 23:47:42 +02:00
|
|
|
<sect1 id="wine-versions">
|
|
|
|
<title>Versions of Wine</title>
|
|
|
|
<sect2>
|
|
|
|
<title>Wine from Wine HQ</title>
|
2003-04-01 05:26:13 +02:00
|
|
|
|
2004-10-25 23:47:42 +02:00
|
|
|
<para>
|
|
|
|
Wine is an open source project, and there are accordingly
|
|
|
|
many different versions of Wine for you to choose from. The
|
|
|
|
standard version of Wine comes in intermittant releases
|
2004-10-30 04:12:05 +02:00
|
|
|
(roughly once a month), and can be downloaded over the
|
2004-10-25 23:47:42 +02:00
|
|
|
internet in both prepackaged binary form and ready to compile
|
2004-10-30 04:12:05 +02:00
|
|
|
source code form. Alternatively, you can install a development
|
2004-10-25 23:47:42 +02:00
|
|
|
version of Wine by using the latest available source code on
|
2004-10-30 04:12:05 +02:00
|
|
|
the CVS server. See the next chapter, <link
|
|
|
|
linkend="getting-wine">Getting Wine</link>, for further details.
|
2004-10-25 23:47:42 +02:00
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
|
|
<title>Other Versions of Wine</title>
|
|
|
|
<para>
|
|
|
|
There are a number of programs that are derived from the
|
|
|
|
standard Wine codebase in some way or another. Some of these
|
|
|
|
are commercial products from companies that actively contribute
|
|
|
|
to the Wine project.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
These products try to stand out or distinguish themselves
|
|
|
|
from the standard version of Wine by offering greater
|
|
|
|
compatibility, easier configuration, and commercial support.
|
|
|
|
If you require such things, it is a good idea to consider
|
|
|
|
purchasing these products.
|
|
|
|
</para>
|
2003-04-01 05:26:13 +02:00
|
|
|
<table><title>Various Wine offerings</title>
|
|
|
|
<tgroup cols=3 align="left">
|
2004-10-25 23:47:42 +02:00
|
|
|
<thead>
|
|
|
|
<row>
|
|
|
|
<entry>Product</entry>
|
|
|
|
<entry>Description</entry>
|
|
|
|
<entry>Distribution Form</entry>
|
|
|
|
</row>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2003-04-01 05:26:13 +02:00
|
|
|
<row>
|
|
|
|
<entry>
|
|
|
|
<ulink
|
2004-10-25 23:47:42 +02:00
|
|
|
url="http://www.codeweavers.com/products/office">CodeWeavers CrossOver Office</ulink>
|
2003-04-01 05:26:13 +02:00
|
|
|
</entry>
|
|
|
|
<entry>
|
2004-10-25 23:47:42 +02:00
|
|
|
CrossOver Office allows you to install your favorite
|
|
|
|
Windows productivity applications in Linux, without
|
|
|
|
needing a Microsoft Operating System license. CrossOver
|
|
|
|
includes an easy to use, single click interface, which
|
|
|
|
makes installing a Windows application simple and fast.
|
2003-04-01 05:26:13 +02:00
|
|
|
</entry>
|
|
|
|
<entry>
|
2004-10-25 23:47:42 +02:00
|
|
|
Commercial; 30-day fully-functional demo available.
|
2003-04-01 05:26:13 +02:00
|
|
|
</entry>
|
|
|
|
</row>
|
2004-10-25 23:47:42 +02:00
|
|
|
<row>
|
|
|
|
<entry>
|
|
|
|
<ulink
|
|
|
|
url="http://www.codeweavers.com/products/cxofficeserver">CodeWeavers CrossOver Office Server Edition</ulink>
|
2003-04-01 05:26:13 +02:00
|
|
|
</entry>
|
|
|
|
<entry>
|
2004-10-25 23:47:42 +02:00
|
|
|
CrossOver Office Server Edition allows you to run your
|
|
|
|
favorite Windows productivity applications in a
|
|
|
|
distributed thin-client environment under Linux, without
|
|
|
|
needing Microsoft Operating System licenses for each
|
2004-10-30 04:12:05 +02:00
|
|
|
client machine. CrossOver Office Server Edition allows you
|
2004-10-25 23:47:42 +02:00
|
|
|
to satisfy the needs of literally hundreds of concurrent
|
|
|
|
users, all from a single server.
|
|
|
|
</entry>
|
|
|
|
<entry>
|
|
|
|
Commercial
|
2003-04-01 05:26:13 +02:00
|
|
|
</entry>
|
|
|
|
</row>
|
2004-10-25 23:47:42 +02:00
|
|
|
<row>
|
|
|
|
<entry>
|
|
|
|
<ulink url="http://www.transgaming.com">TransGaming Technologies Cedega</ulink>
|
2003-04-01 05:26:13 +02:00
|
|
|
</entry>
|
2004-10-25 23:47:42 +02:00
|
|
|
<entry>
|
|
|
|
Cedega, formerly known as WineX, is a Wine version derived
|
|
|
|
from the old BSD licensed Wine tree. It is designed
|
|
|
|
specifically to function with games, and so development
|
|
|
|
is centered around ensuring compatibility with technologies
|
|
|
|
like Direct3D, DirectX, and various methods of copy protection.
|
|
|
|
</entry>
|
|
|
|
<entry>
|
|
|
|
Commercial; free CVS download of reduced version (no copy
|
|
|
|
protection support etc.)
|
|
|
|
</entry>
|
|
|
|
</row>
|
2003-04-01 05:26:13 +02:00
|
|
|
<row>
|
|
|
|
<entry>
|
2004-10-25 23:47:42 +02:00
|
|
|
<ulink
|
|
|
|
url="http://sourceforge.net/projects/rewind">ReWind</ulink>
|
2003-04-01 05:26:13 +02:00
|
|
|
</entry>
|
|
|
|
<entry>
|
2004-10-25 23:47:42 +02:00
|
|
|
ReWind is a Wine version derived from the old BSD licensed
|
|
|
|
Wine tree. Due to its BSD license it can't incorporate
|
|
|
|
most recent Wine patches, however its code can be used by
|
|
|
|
any software project without restriction. Although code
|
|
|
|
is occasionally contributed to ReWind alongside the main
|
|
|
|
Wine project, there has never been an official release of
|
|
|
|
ReWind.
|
2003-04-01 05:26:13 +02:00
|
|
|
</entry>
|
|
|
|
<entry>
|
2004-10-25 23:47:42 +02:00
|
|
|
Free, Open Source: BSD license
|
2003-04-01 05:26:13 +02:00
|
|
|
</entry>
|
|
|
|
</row>
|
2004-10-25 23:47:42 +02:00
|
|
|
</tbody>
|
|
|
|
</tgroup>
|
2003-04-01 05:26:13 +02:00
|
|
|
</table>
|
2004-11-29 18:54:20 +01:00
|
|
|
</sect2>
|
2003-04-01 05:26:13 +02:00
|
|
|
</sect1>
|
2003-05-02 22:09:58 +02:00
|
|
|
|
2004-10-25 23:47:42 +02:00
|
|
|
<sect1 id="alternatives">
|
2003-05-02 22:09:58 +02:00
|
|
|
<title>Alternatives to Wine you might want to consider</title>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
There are many ways to run software other than through Wine. If
|
|
|
|
you are considering using Wine to run an application you might
|
|
|
|
want to think about the viability of these approaches if you
|
|
|
|
encounter difficulty.
|
2003-05-02 22:09:58 +02:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<sect2>
|
2004-10-25 23:47:42 +02:00
|
|
|
<title>Native Applications</title>
|
2003-05-02 22:09:58 +02:00
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Instead of running a particular Windows application with Wine,
|
|
|
|
one frequently viable alternative is to simply run a different
|
|
|
|
application. Many Windows applications, particularly more
|
|
|
|
commonly used ones such as media players, instant messengers,
|
|
|
|
and filesharing programs have very good open source equivalents.
|
|
|
|
Furthermore, a sizable number of Windows programs have been
|
|
|
|
ported to Linux directly, eliminating the need for Wine (or
|
|
|
|
Windows) entirely.
|
2003-05-02 22:09:58 +02:00
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
2004-10-25 23:47:42 +02:00
|
|
|
<title>Another Operating System</title>
|
|
|
|
<para>
|
|
|
|
Probably the most obvious method of getting a Windows
|
|
|
|
application to run is to simply run it on Windows. However,
|
|
|
|
security, license cost, backward-compatibility, and machine
|
|
|
|
efficiency issues can make this a difficult proposition, which
|
|
|
|
is why Wine is so useful in the first place.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
Another alternative is to use <ulink
|
|
|
|
url="http://www.reactos.com">ReactOS</ulink>, which is a fully
|
|
|
|
open source alternative to Windows. ReactOS shares code
|
|
|
|
heavily with the Wine project, but rather than running Windows
|
|
|
|
applications on top of Linux they are instead run on top of the
|
|
|
|
ReactOS kernel. ReactOS also offers compatibility with Windows
|
|
|
|
driver files, allowing the use of hardware without functional
|
|
|
|
Linux drivers.
|
|
|
|
</para>
|
2003-05-02 22:09:58 +02:00
|
|
|
</sect2>
|
2004-10-25 23:47:42 +02:00
|
|
|
<sect2>
|
2004-10-30 04:12:05 +02:00
|
|
|
<title>Virtual Machines</title>
|
2003-04-01 05:26:13 +02:00
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
Rather than installing an entirely new operating system on your
|
|
|
|
machine, you can instead run a virtual machine at the software
|
|
|
|
level and install a different operating system on it. Thus, you
|
|
|
|
could run a Linux system and at the same time run Windows along
|
|
|
|
with your application in a virtual machine simultaneously on the
|
|
|
|
same hardware. Virtual machines allow you to install and run
|
|
|
|
not only different versions of Windows on the same hardware, but
|
|
|
|
also other operating systems, including ReactOS.
|
2003-04-01 05:26:13 +02:00
|
|
|
</para>
|
|
|
|
<para>
|
2004-10-25 23:47:42 +02:00
|
|
|
There are several different virtual machine offerings out there,
|
|
|
|
and some are also able to emulate x86 hardware on different
|
|
|
|
platforms. The open source <ulink
|
|
|
|
url="http://bochs.sourceforge.net/">Bochs</ulink> and <ulink
|
|
|
|
url="http://fabrice.bellard.free.fr/qemu/">QEMU</ulink> can run
|
|
|
|
both Windows and ReactOS virtually. Other, commercial virtual
|
|
|
|
machine offerings include <ulink
|
|
|
|
url="http://www.vmware.com/">VMware</ulink> and Microsoft's
|
|
|
|
<ulink url="http://www.microsoft.com/windowsxp/virtualpc/">VirtualPC</ulink>.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
There are significant drawbacks to using virtual machines,
|
|
|
|
however. Unlike Wine, such programs <emphasis>are</emphasis>
|
|
|
|
emulators, so there is an inevitable speed decrease which can
|
|
|
|
be quite substantial. Furthermore, running an application
|
|
|
|
inside a virtual machine prevents fully integrating the
|
|
|
|
application within the current environment. You won't, for
|
|
|
|
example, be able to have windows system tray icons or program
|
|
|
|
shortcuts sitting alongside your desktop Linux ones, since
|
|
|
|
instead the Windows applications must reside completely within
|
|
|
|
the virtual machine.
|
2003-04-01 05:26:13 +02:00
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
2000-12-13 22:52:37 +01:00
|
|
|
</chapter>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
2003-04-19 04:50:57 +02:00
|
|
|
sgml-parent-document:("wine-user.sgml" "set" "book" "chapter" "")
|
2000-12-13 22:52:37 +01:00
|
|
|
End:
|
|
|
|
-->
|