blob: c050ffffe6d1843f69e7ba67b9626dc3aac2b33b [file] [log] [blame]
Tony Lambregts94f83592002-12-03 23:29:28 +00001<!-- *** Wine FAQ *** -->
Francois Gougetd97bbd02002-12-05 19:14:02 +00002 <title>Wine FAQ</title>
3 <para>
4 For technical questions, visit the
5 <ulink url="http://www.winehq.org/fom-meta/cache/19.html">
6 Wine Troubleshooting Guide</ulink> instead.
7 </para>
8
Tony Lambregts94f83592002-12-03 23:29:28 +00009 <qandaset>
10 <qandadiv id="About-this-FAQ"><title>About this FAQ</title>
11 <qandaentry>
12 <question id="Who-maintains-this-FAQ">
13 <para>Who maintains this FAQ ?</para>
14 </question>
15 <answer>
16 <para>Dave Gardner maintained it from 1995-1998.</para>
17 <para>Douglas Ridgway (ridgway@winehq.com) took it over in 1999.</para>
18 <para>Andreas Mohr (amohr@codeweavers.com) converted it to FAQ-O-Matic in 2000.</para>
19 <para>Dimitrie O. Paun, Keith Matthews and Thomas Wickline reorganised it in 2002.</para>
20 <para>For suggestions/additions/complaints regarding this FAQ, please send an email to
21 <ulink url="mailto:wine-faq@winehq.org">wine-faq@winehq.org</ulink></para>
22 </answer>
23 </qandaentry>
24 <qandaentry>
25 <question id="What-is-the-copyright-on-the-FAQ-And">
Andreas Mohre85357d2003-02-28 21:49:00 +000026 <para>What is the copyright on the FAQ? And how may I use it?</para>
Tony Lambregts94f83592002-12-03 23:29:28 +000027 </question>
28 <answer>
29 <para>The original Wine FAQ, which this FAQ was based on, was copyright &copy; 1995-1998 David Gardner.</para>
30 <para>It may be reproduced and modified under the same terms as Wine itself.</para>
31 </answer>
32 </qandaentry>
33 </qandadiv>
34 <qandadiv id="General-Questions-about-Wine">
35 <title>General Questions about Wine</title>
36 <qandaentry>
37
38 <question id="What-is-Wine-and-what-is-it-supposed-to">
Andreas Mohre85357d2003-02-28 21:49:00 +000039 <para>What is Wine and what is it supposed to do?</para>
Tony Lambregts94f83592002-12-03 23:29:28 +000040 </question>
41 <answer>
42 <para>
43 Wine is a program which allows the operation of DOS and MS
44 Windows programs (Windows 3.x and Win32 executables) on UNIX.
45 It consists of a program loader, which loads and executes a Windows
Francois Gouget6e475592003-04-26 02:10:09 +000046 binary, and a set of libraries that implements Windows API calls
47 using their UNIX or X11 equivalents. The libraries may also be used
Tony Lambregts94f83592002-12-03 23:29:28 +000048 for porting Win32 code into native UNIX executables, often
49 without many changes in the source. Wine is free software,
50 and its license (contained in the file LICENSE
Francois Gouget6e475592003-04-26 02:10:09 +000051 in each distribution) is LGPL.
Tony Lambregts94f83592002-12-03 23:29:28 +000052 </para>
53 </answer>
54 </qandaentry>
55
56 <qandaentry>
57 <question id="Is-Wine-an-emulator">
Francois Gouget6e475592003-04-26 02:10:09 +000058 <para>Is Wine an emulator?</para>
Tony Lambregts94f83592002-12-03 23:29:28 +000059 </question>
60 <answer>
61 <para>
Francois Gouget6e475592003-04-26 02:10:09 +000062 No, as the name says, Wine Is Not a (CPU) Emulator. Wine just
63 provides the Windows API. This means that you will need an
64 x86-compatible processor to run an x86 Windows application. The
65 advantage is that, unlike solutions that rely on emulation, Wine
66 runs applications run at full speed.
Tony Lambregts94f83592002-12-03 23:29:28 +000067 </para>
68 </answer>
69 </qandaentry
70
71 <qandaentry>
72 <question id="Are-here-any-alternatives-to-Wine">
73 <para>Are there any alternatives to Wine?</para>
74 </question>
75 <answer>
76 <para>
Andreas Mohre85357d2003-02-28 21:49:00 +000077 Yes, there are. You can use <ulink url="http://www.vmware.com">VMWare</ulink> to run a Windows installation inside a virtual machine,
78 or use <ulink url="http://www.win4lin.com">Win4Lin</ulink>
79 to run a specially adapted Windows version on Linux.
80 Both solutions cost money for both the software itself
81 and a Windows license.
Tony Lambregts94f83592002-12-03 23:29:28 +000082 </para>
83 <para>
84 Note that, like Wine, they can only use the hardware platform that
85 the target programs were originally compiled for (see below).
86 </para>
87 </answer>
88 </qandaentry>
89
90 <qandaentry>
91 <question id="Difference-between-Wine-and-emulators">
92 <para>What is the difference between Wine and x86 hardware emulators?</para>
93 </question>
94 <answer>
95 <para>
96 There are two free x86 hardware emulators:
Andreas Mohre85357d2003-02-28 21:49:00 +000097 <ulink url="http://bochs.sourceforge.net">bochs</ulink>, and
98 <ulink url="http://savannah.nongnu.org/projects/plex86">plex86</ulink>.
Tony Lambregts94f83592002-12-03 23:29:28 +000099 </para>
Dimitrie O. Paunb459bb82002-12-10 19:06:05 +0000100
101 <para>
102 Plex86 is the opensource free-software alternative for VMWare,
103 VirtualPC, and other IA-32 on IA-32 "Virtual PC products." It
104 can only run on the IA-32 architecture.
105 </para>
106
107 <para>
108 Bochs is a highly portable open source IA-32 (x86) PC emulator
109 written in C++, that runs on most popular platforms. It includes emulation
110 of the Intel x86 CPU, common I/O devices, and a custom BIOS. Currently,
111 bochs can be compiled to emulate a 386, 486 or Pentium CPU. Bochs is capable
112 of running most Operating Systems inside the emulation including Linux,
113 Windows® 95, DOS, and recently Windows® NT 4.
114 </para>
115
116 <para>
117 Both are licensed under the GPL. Bochs is older than plex86, seems to be
Francois Gouget6e475592003-04-26 02:10:09 +0000118 easier to install, but plex86 will run faster because plex86 uses a just in
119 time binary compiler.
120 </para>
121 <para>
122 The drawback of all emulators is that you need a version
123 of Windows in order to run Windows, and that they all have an
124 impact on performance.
Dimitrie O. Paunb459bb82002-12-10 19:06:05 +0000125 </para>
126
Tony Lambregts94f83592002-12-03 23:29:28 +0000127 </answer>
128 </qandaentry>
129
130 <qandaentry>
131 <question id="Why-would-anyone-want-Wine-Windows-suck">
132 <para>Why would anyone want Wine? Doesn't Windows suck?</para>
133 </question>
134 <answer>
135 <para>
136 First Wine is not about running Windows but about running Windows
137 applications.
138 </para>
139 <para>
140 So if all your computing needs are fulfilled by native Unix
141 applications, then you do not need Wine and should not be using
142 it. However, if you depend on one or more of the tens of
143 thousands of Windows applications, then Wine is the best way to
144 use it without giving up on Unix. Let's look at the alternatives
145 to see why:
146 </para>
147 <para>
148 The most obvious alternative is to dual-boot. This is the solution
149 that provides the best compatibility. However it requires that you
150 acquire a Windows license and then dedicate a good chunk of your
151 hard-drive to Windows. But the worst is yet to come. Each time you
152 will want to use that application you will have to reboot to
153 Windows. This is especially significant if external factors dictate
154 when you must use this application (e.g. credit card to process,
155 email to retrieve from a Lotus Notes server). Then you will find
156 yourself forced to close all your Linux applications just to run
157 that one Windows application. You may quickly get tired of this, or
158 will find that such a situation is impossible to justify in a
159 business environment.
160 </para>
161 <para>
162 The next solution is to install virtual machine emulation software
163 such as VMWare, Win4Lin or Plex86. Then you can use windows
164 applications without suffering such a big disruption. But it still
165 requires that you acquire a Windows license and dedicate as much
166 disk space to Windows. Furthermore you will pay for the added
167 convenience: if using VMWare or Win4Lin you have to buy another
168 license, and more importantly you now have to dedicate a good chunk
169 of your computer's memory to the virtual machine. Performance will
170 take a significant hit too.
171 </para>
172 <para>
173 Using Wine lets you avoid all of that overhead: Windows license,
174 hard-drive space required by Windows, memory and performance hit
175 taken by emulated virtual machines. Now you can start your Windows
176 application straight from your regular desktop environment, place
177 that application's window side by side with native application
178 windows, copy/paste from one to the other, and run it all at full speed.
179 </para>
180 <para>
181 It is also a pretty vital part of migrating a large organisation,
182 you can't change a 5000 desktop setup overnight without a lot of risk.
183 </para>
184 </answer>
185 </qandaentry>
186
187 <qandaentry>
188 <question id="Which-one-of-the-different-Wine-packages">
189 <para>Which one of the different Wine packages out there is good for me?</para>
190 </question>
191 <answer>
192 <para>
193 Currently there is a broad selection of different Wine packages/versions:
194 </para>
195 <variablelist>
196
197 <varlistentry>
198 <term><ulink url="http://www.winehq.com">Wine</ulink></term>
199 <listitem>
200 <para>
201 This is the "standard" source distribution of Wine. Its license is
Francois Gouget6e475592003-04-26 02:10:09 +0000202 the LGPL, it can be downloaded for free.
Tony Lambregts94f83592002-12-03 23:29:28 +0000203 </para>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry>
Andreas Mohre85357d2003-02-28 21:49:00 +0000208 <term><ulink url="http://rewind.sourceforge.net">ReWind</ulink></term>
Tony Lambregts94f83592002-12-03 23:29:28 +0000209 <listitem>
210 <para>
211 This is a forked Wine tree that got created when Wine changed its
212 license from X11 to the more restrictive LGPL, in order to let
213 people continue to maintain an X11 licensed Wine version. Its
214 license is X11, it can be downloaded for free.
215 </para>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry>
220 <term><ulink url="http://www.transgaming.com">Transgaming's WineX</ulink></term>
221 <listitem>
222 <para>
223 This is TransGaming's Wine version specially suited for games.
224 It includes Direct3D support (thus its DirectX support is much
Francois Gouget6e475592003-04-26 02:10:09 +0000225 more complete than Wine's). Most of the code is under the AFPL
226 and can be downloaded for free.
227 </para>
228 <para>
229 However Transgaming also distributes binaries that contain
230 improved copy protection support (needed for many
231 games), support, and other enhancements. These packages are
232 only available in binary form to subscribed customers
233 ($5/month).
Tony Lambregts94f83592002-12-03 23:29:28 +0000234 </para>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry>
Francois Gouget6e475592003-04-26 02:10:09 +0000239 <term><ulink url="http://wine.codeweavers.com">CodeWeavers' Wine preview</ulink></term>
Tony Lambregts94f83592002-12-03 23:29:28 +0000240 <listitem>
241 <para>
Francois Gouget6e475592003-04-26 02:10:09 +0000242 This is a special packaged version of the standard Wine tree
243 which has a nice setup for easy installation. License LGPL, free
Tony Lambregts94f83592002-12-03 23:29:28 +0000244 download.
245 </para>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry>
Francois Gouget6e475592003-04-26 02:10:09 +0000250 <term><ulink url="http://www.codeweavers.com/products/crossover/">CodeWeavers' Crossover Plugin</ulink></term>
Tony Lambregts94f83592002-12-03 23:29:28 +0000251 <listitem>
252 <para>
Francois Gouget6e475592003-04-26 02:10:09 +0000253 Special Wine installation to be used for running Windows
254 Netscape browser plugins such as e.g. QuickTime in Linux
255 browsers. Costs $24.95.
Tony Lambregts94f83592002-12-03 23:29:28 +0000256 Well worth it (very stable and useful packaging).
257 </para>
258 </listitem>
259 </varlistentry>
260
261 <varlistentry>
Francois Gouget6e475592003-04-26 02:10:09 +0000262 <term><ulink url="http://www.codeweavers.com/products/office/">CodeWeavers' Crossover Office</ulink></term>
Tony Lambregts94f83592002-12-03 23:29:28 +0000263 <listitem>
264 <para>
265 Wine version with special packaging to make sure almost all
266 important Office type programs work pretty well. Costs $54.95.
267 Seems to be well worth it so far according to some comments.
Francois Gouget6e475592003-04-26 02:10:09 +0000268 (note: you're supporting a company actively contributing to Wine
Tony Lambregts94f83592002-12-03 23:29:28 +0000269 if you decide to buy either Plugin or Office.
270 </para>
271 </listitem>
272 </varlistentry>
273
274 <varlistentry>
275 <term><ulink url="http://www.winehq.org/download/">Other packaged versions of Wine</ulink></term>
276 <listitem>
277 <para>
Francois Gouget6e475592003-04-26 02:10:09 +0000278 Various Wine packages can be downloaded for free from
279 Wine HQ. They are not officially packaged by Wine HQ, and as
280 such may have some configuration inconsistencies.
Tony Lambregts94f83592002-12-03 23:29:28 +0000281 </para>
282 </listitem>
283 </varlistentry>
284 </variablelist>
285 </answer>
286 </qandaentry>
287
288 <qandaentry>
289 <question id="Whats-the-history-of-Wine">
290 <para>What's the history of Wine?</para>
291 </question>
292 <answer>
293 <para>
294 The Wine project started in 1993 as a way to support running Windows 3.1
295 programs on Linux. Bob Amstadt was the original coordinator, but turned
296 it over fairly early on to Alexandre Julliard, who has run it ever
297 since. A <ulink url="news:comp.emulators.ms-windows.wine">newsgroup</ulink>
298 was created in July 1994. Over the years, ports for
299 other Unixes have been added, along with support for Win32 as Win32
300 applications became popular.
301 </para>
302 <para>
303 For more information, see <ulink url="http://www.winehq.com/about.shtml">
304 http://www.winehq.com/about.shtml</ulink>
305 </para>
306 </answer>
307 </qandaentry>
308
309 <qandaentry>
310 <question id="What-is-the-current-version-of-Wine">
311 <para>What is the current version of Wine?</para>
312 </question>
313 <answer>
314 <para>
315 A new version of Wine is distributed about every month. You will be
316 able to keep up on all the latest releases by reading the newsgroup
317 <ulink url="news:comp.emulators.ms-windows.wine">
318 comp.emulators.ms-windows.wine</ulink>, or by visiting the
319 <ulink url="http://www.winehq.com">Wine HQ homepage</ulink>. When
320 downloading Wine from your FTP site of choice (see
321 <ulink url="http://www.winehq.com/download.shtml">the Download page</ulink>
322 for some of these choices), you can make sure that you are getting
323 the latest version by watching the version numbers in the distribution
324 filename. For instance, the distribution released on October 31, 2002
325 was called Wine-20021031.tar.gz. Patch files are also available. If
326 you are current to the previous version, you can download and apply
327 just the current patch file rather than the entire new distribution.
328 The patch filenames follow the same conventions as the monthly
329 distribution. <ulink url="http://www.winehq.com/dev.shtml">
330 Read-only CVS</ulink> access is also available.
331 </para>
332 </answer>
333 </qandaentry>
334
335 <qandaentry>
336 <question id="What-is-the-current-Status-of-Wine">
337 <para>What is the current Status of Wine?</para>
338 </question>
339 <answer>
340 <para>
341 As of mid 2002, Wine consists of over 1 million lines of C code,
342 written by more than 300 developers from dozens of countries around
343 the world. Wine is in active use by an estimated 100K people. Wine
344 implements more than 90% of the calls in popular Windows
345 specifications such as ECMA-234 and Open32.
346 </para>
347 <para>
348 You may also want to look at the
349 <ulink url="http://www.winehq.com/about/index.php?status">
350 Status page</ulink> for a global view on Wine's implementation progress.
351 </para>
352 </answer>
353 </qandaentry>
354
355 <qandaentry>
356 <question id="When-will-Wine-be-finished">
357 <para>When will Wine be finished?</para>
358 </question>
359 <answer>
360 <para>
361 Large software projects are never finished, only released. In any
362 case Wine is chasing a moving target since every new release of
Francois Gouget6e475592003-04-26 02:10:09 +0000363 Windows contains new API calls or variations on the existing ones.
Tony Lambregts94f83592002-12-03 23:29:28 +0000364 </para>
365 <para>
366 Because Wine is being developed by volunteers, it is difficult to
367 predict when it will be ready for general release. But due to the
368 much increased interest by companies in porting apps via Wine, Wine
369 development is constantly getting more and more active. Right now
Francois Gouget6e475592003-04-26 02:10:09 +0000370 we are working on releasing Wine 0.9 in 2003.
Tony Lambregts94f83592002-12-03 23:29:28 +0000371 </para>
372 </answer>
373 </qandaentry>
374
375 <qandaentry>
376 <question id="Who-is-responsible-for-Wine">
Francois Gouget6e475592003-04-26 02:10:09 +0000377 <para>Who is responsible for Wine?</para>
Tony Lambregts94f83592002-12-03 23:29:28 +0000378 </question>
379 <answer>
380 <para>
381 Wine is available thanks to the work of many people. Please see the
382 <ulink url="http://www.winehq.com/source/AUTHORS">AUTHORS</ulink>
383 file in the distribution for the complete list. Some companies that
Francois Gouget6e475592003-04-26 02:10:09 +0000384 are or have been involved with Wine development are CodeWeavers,
Tony Lambregts94f83592002-12-03 23:29:28 +0000385 TransGaming, Corel, and Macadamian.
386 </para>
387 </answer>
388 </qandaentry>
389
390 <qandaentry>
391 <question id="folks-who-contributed-money-or-equipment">
392 <para>Who are the folks and organizations who have contributed money or equipment to the Wine project?</para>
393 </question>
394 <answer>
395 <para>
396 People and organizations who have given generous contributions of
397 money, equipment, or licenses, include:
398 </para>
399 <itemizedlist spacing="compact">
400 <listitem>
401 <para>David L. Harper</para>
402 </listitem>
403 <listitem>
404 <para>Bob Hepple</para>
405 </listitem>
406 <listitem>
407 <para>Mark A. Horton</para>
408 </listitem>
409 <listitem>
410 <para>Kevin P. Lawton</para>
411 </listitem>
412 <listitem>
413 <para>The Syntropy Institute</para>
414 </listitem>
415 <listitem>
416 <para>James Woulfe</para>
417 </listitem>
418 <listitem>
419 <para>
Andreas Mohre85357d2003-02-28 21:49:00 +0000420 VMWare Inc. (<ulink url="http://www.vmware.com">
421 http://www.vmware.com</ulink>)
Tony Lambregts94f83592002-12-03 23:29:28 +0000422 </para>
423 </listitem>
424 <listitem>
425 <para>
Andreas Mohre85357d2003-02-28 21:49:00 +0000426 Corel (<ulink url="http://www.corel.com">
427 http://www.corel.com</ulink>)
Tony Lambregts94f83592002-12-03 23:29:28 +0000428 </para>
429 </listitem>
430 </itemizedlist>
431 </answer>
432 </qandaentry>
433
434 <qandaentry>
435 <question id="What-undocumented-APIs-are-not-understood">
436 <para>What undocumented APIs / interfaces are not understood? Would
437 seeing Microsoft source help?
438 </para>
439 </question>
440 <answer>
441 <para>
442 The best would be if the Windows API was fully documented, so Wine
443 could be a perfect "clean-room" implementation. Seeing the source
444 code might make it harder to prove that no copyright violations have
445 taken place. That said, the documentation is often bad, nonexistent,
446 and even misleading where it exists, so a fair amount of reverse
Francois Gouget6e475592003-04-26 02:10:09 +0000447 engineering has been necessary, particularly in the shell (Explorer)
Tony Lambregts94f83592002-12-03 23:29:28 +0000448 interface.
449 </para>
450 </answer>
451 </qandaentry>
452
453 <qandaentry>
454 <question id="Is-TransGamings-last-patch-included-in-Wine">
455 <para>Is TransGaming's latest patch included in the standard Wine release?</para>
456 </question>
457 <answer>
458 <para>
459 No, it's not.
460 </para>
461 <para>
Francois Gouget6e475592003-04-26 02:10:09 +0000462 TransGaming makes money via a subscription service and the license
463 of their WineX tree is incompatible with the Wine license. Thus
464 WineX patches cannot be integrated into the Wine tree without
465 express permission by TransGaming. They have submitted some
466 of their work for integration into Wine, most notably DirectDraw
467 and some DirectSound work, and such work has been integrated into
468 Wine tree. However it seems unlikely they will submit their Direct3D
469 work.
Tony Lambregts94f83592002-12-03 23:29:28 +0000470 </para>
471 </answer>
472 </qandaentry>
473
474 <qandaentry>
475 <question id="Will-there-be-a-Windows-version-of-Wine">
476 <para>Will there be a Windows version of Wine?</para>
477 </question>
478 <answer>
479 <para>
480 Some people are working on getting Wine code to compile on Windows.
481 </para>
482 <itemizedlist spacing="compact">
483 <listitem>
484 <para>
Andreas Mohre85357d2003-02-28 21:49:00 +0000485 Cygwin (<ulink url="http:/www.cygwin.com">
486 http://www.cygwin.com/</ulink>)
Tony Lambregts94f83592002-12-03 23:29:28 +0000487 </para>
488 </listitem>
489 <listitem>
490 <para>
Andreas Mohre85357d2003-02-28 21:49:00 +0000491 Reactos (<ulink url="http://www.reactos.com/">
492 http://www.reactos.com/</ulink>)
Tony Lambregts94f83592002-12-03 23:29:28 +0000493 </para>
494 </listitem>
495 </itemizedlist>
496 <para>
497 There's some progress, so a Wine version that's usable on Windows
498 might be available at some time.
499 </para>
500 </answer>
501 </qandaentry>
502
503 </qandadiv>
504 <qandadiv id="What-do-I-need-in-order-to-use-Wine">
505 <title>What do I need in order to use Wine?</title>
506 <qandaentry>
507 <question id="Under-what-platforms-will-Wine-run">
508 <para>
509 Under what hardware platform(s) and operating system(s) will
510 Wine(Lib) run?
511 </para>
512 </question>
513 <answer>
514 <para>
Andreas Mohre85357d2003-02-28 21:49:00 +0000515 Wine is being developed specifically to run on the <emphasis>Intel x86</emphasis> class of CPUs under certain UNIXes that run on the x86 platform.
516 Winelib however is capable of porting Windows program <emphasis>source code</emphasis> to other platforms also, not only x86.
Tony Lambregts94f83592002-12-03 23:29:28 +0000517 </para>
518 <para>
Andreas Mohre85357d2003-02-28 21:49:00 +0000519 Thus running Windows programs via Wine on other platforms (e.g. MacOS X) is <emphasis>not</emphasis> possible; the only way to run Windows code
520 on MacOS X would be to take Windows program source code and recompile it for e.g. MacOS X using Winelib.
521 </para>
522 <para>
523 The following will list the x86 operating systems supported by
524 Wine; Winelib support for other platforms keeps evolving,
525 so it's not specifically listed here.
526 </para>
527 <para>
Tony Lambregts94f83592002-12-03 23:29:28 +0000528 NetBSD, OpenBSD, Unixware, and SCO OpenServer 5 worked at one time,
529 but Wine now requires kernel-level threads which are not currently
Francois Gouget6e475592003-04-26 02:10:09 +0000530 available (or understood by the Wine team) on those platforms.
Tony Lambregts94f83592002-12-03 23:29:28 +0000531 </para>
532 <para>
533 The Wine development team hopes to attract the interest of other
534 commercial UNIX and UNIX clone vendors as well.
535 </para>
536 <para>
537 BeOS: porting efforts used to be pretty strong, but BeOS has severe
538 limitations in Unix call support, so a port will probably never
539 happen.
540 </para>
541 <para>
542 FreeBSD: Should work, with limitations in specific areas (mainly
Francois Gouget6e475592003-04-26 02:10:09 +0000543 missing device/hardware support).
Tony Lambregts94f83592002-12-03 23:29:28 +0000544 </para>
545 <para>
Francois Gouget6e475592003-04-26 02:10:09 +0000546 Linux/x86: WORKS. If it doesn't, you may also want to see the
Tony Lambregts94f83592002-12-03 23:29:28 +0000547 <ulink url="http://www.winehq.org/fom-meta/cache/19.html">Wine
Francois Gouget6e475592003-04-26 02:10:09 +0000548 Troubleshooting Guide</ulink>.
Tony Lambregts94f83592002-12-03 23:29:28 +0000549 </para>
550 </answer>
551 </qandaentry>
552
553 <qandaentry>
554 <question id="What-minimum-CPU-must-I-have">
555 <para>
556 What minimum CPU must I have in my computer to be able to run Wine
557 and MS Windows applications smoothly?
558 </para>
559 </question>
560 <answer>
561 <para>
562 We need to differentiate between Wine and Winelib here.
563 </para>
564 <para>
565 Wine won't run on any x86 CPU less than an 80386 due to address
Andreas Mohre85357d2003-02-28 21:49:00 +0000566 management limitations.
Tony Lambregts94f83592002-12-03 23:29:28 +0000567 </para>
568 <para>
569 It is known to also work in the 80486 and upwards compatible CPUs.
570 The basic test is, if you can run X11 now, you should be able to run
571 Wine and MS Windows applications under it.
572 </para>
573 <para>
574 As always, the faster your CPU, the better. Having a math coprocessor
575 is unimportant. However, having a graphics accelerated video card
Andreas Mohre85357d2003-02-28 21:49:00 +0000576 supported by X will help greatly.
Tony Lambregts94f83592002-12-03 23:29:28 +0000577 </para>
578 <para>
579 Depending on your application you may find that faster speeds are
580 required for sensible use. We can't give specific advice on that due
Francois Gouget6e475592003-04-26 02:10:09 +0000581 to the vast range of applications out there. However the rule of
582 thumb is that if your application runs fine on Windows, it should
583 run fine on the same platform in Wine.
Tony Lambregts94f83592002-12-03 23:29:28 +0000584 </para>
585 </answer>
586 </qandaentry>
587
588 <qandaentry>
589 <question id="How-much-disk-space-will-Wine-take">
590 <para>
591 How much disk space will the Wine source code and binaries take on my
592 hard drive?
593 </para>
594 </question>
595 <answer>
596 <para>
597 You need approximately 250 megabytes of free hard drive space to
598 store and compile the source code. Wine also needs about 18 megs in
599 your /tmp directory. And about 50 MB are needed to do a make install.
600 </para>
Francois Gouget6e475592003-04-26 02:10:09 +0000601 <para>
602 Binary packages, especially those not containing debug information,
603 have much lower disk space requirements, usually in the 20MB range.
604 </para>
Tony Lambregts94f83592002-12-03 23:29:28 +0000605 </answer>
606 </qandaentry>
607
608 <qandaentry>
609 <question id="What-other-software-do-I-need-to-compile">
610 <para>
Francois Gouget6e475592003-04-26 02:10:09 +0000611 What other software do I need to install, compile and run
Tony Lambregts94f83592002-12-03 23:29:28 +0000612 Wine?
613 </para>
614 </question>
615 <answer>
616 <para>
Francois Gouget6e475592003-04-26 02:10:09 +0000617 Many development tools are needed in order to compile Wine.
Tony Lambregts94f83592002-12-03 23:29:28 +0000618 A list of required packages for several distributions is included in
Andreas Mohre85357d2003-02-28 21:49:00 +0000619 the README (<ulink url="http://www.winehq.com/source/README">
620 http://www.winehq.com/source/README</ulink>).
Tony Lambregts94f83592002-12-03 23:29:28 +0000621 </para>
622 <para>
623 To run Wine, you will need the following:
624 </para>
625
626 <itemizedlist spacing="compact">
627 <listitem>
628 <para>The compiled Wine binary</para>
629 </listitem>
630 <listitem>
631 <para>A properly configured wine.conf file (or ~/.winerc file)</para>
632 </listitem>
633 <listitem>
634 <para>An installed and working X Window system</para>
635 </listitem>
636 <listitem>
637 <para>Some Windows programs to test</para>
638 </listitem>
639 </itemizedlist>
640 </answer>
641 </qandaentry>
642 <qandaentry>
643 <question id="How-much-RAM-do-I-need">
644 <para>
645 How much RAM do I need to have on my UNIX system to be able to run
646 Wine and MS Windows applications smoothly?
647 </para>
648 </question>
649 <answer>
650 <para>
651 If you can run X smoothly on your UNIX system now, you should be
652 able to run Wine and MS Windows applications just fine too, depending
653 on how memory hungry the application is.
654 </para>
655 <para>
656 A Wine workstation will work with 16 megabytes of RAM and a 16
657 megabyte swap partition as long as you have a reasonable graphics
658 card. Most applications will run reasonably with 64/64 Mb,
659 interactive games are likely to need more. You can run Wine with 8/8,
660 but it is going to be unusably slow and very constraining on the
661 applications you can run. If you wish to be part of the development
662 team and program Wine itself, be aware that the debugger is rather
663 memory intensive. Some have suggested that 64 megabytes is the
664 minimum RAM needed for Wine development, although some are able to
665 work (albeit slowly) with 24 megabytes of physical RAM and lots of
666 swap space.
667 </para>
668 </answer>
669 </qandaentry>
670
671 <qandaentry>
672 <question id="How-long-does-Wine-take-to-build">
673 <para>How long does Wine take to build</para>
674 </question>
675 <answer>
676 <para>
677 Wine is getting to be quite large, and building from scratch takes a
678 lot of processing. As of September 2002, compile times were around 20
679 minutes on an Athlon 1200 with 640 Mb and 45-50 minutes on a Cyrix
680 300 with 64 Mb. If you have a CVS copy, you may not need to rebuild
681 the whole thing every time you update.
682 </para>
683 </answer>
684 </qandaentry>
685 <qandaentry>
686 <question id="I-have-a-Drivespaced-partition">
687 <para>
688 I have a Drivespaced, Doublespaced or Stackered DOS partition. Can
689 Wine run MS Windows binaries located in such a partition?
690 </para>
691 </question>
692 <answer>
693 <para>
694 Yes, but only if the operating system supports mounting those types
Francois Gouget6e475592003-04-26 02:10:09 +0000695 of drives. There is a Linux file system driver called dmsdos that
696 will allow read/write access to Doublespaced and Drivespace 1.0
Tony Lambregts94f83592002-12-03 23:29:28 +0000697 drives. More specifically, it supports mounting DOS 6.0 and 6.2
698 Doublespaced, DOS 6.22 Drivespaced, and Windows 95 Doublespaced
699 compressed partitions (read and write access works fine, but write
700 access is slow). It can be found at
701 <ulink url="ftp://metalab.unc.edu/pub/Linux/system/filesystems/dosfs/">
702 ftp://metalab.unc.edu/pub/Linux/system/file systems/dosfs/</ulink>
703 </para>
704 </answer>
705 </qandaentry>
706
707 <qandaentry>
708 <question id="Do-I-need-to-have-a-DOS-partition">
709 <para>Do I need to have a DOS partition on my system to use Wine?</para>
710 </question>
711 <answer>
712 <para>
713 You do not need a licensed and installed copy of DOS or MS Windows to
714 install, configure and run Wine. However, Wine has to be able to
715 'see' an MS Windows binary (i.e. application) if it is to run it.
716 </para>
717 </answer>
718 </qandaentry>
719
720 <qandaentry>
721 <question id="Does-MS-Windows-need-to-be-installed">
722 <para>
723 Does MS Windows need to be loaded into that partition in order to
724 run MS Windows programs under Wine?
725 </para>
726 </question>
727 <answer>
728 <para>
729 Many folks have successfully installed and run some small programs
730 in their UNIX filesystem without having a DOS partition or MS
731 Windows. However, in many cases you need a directory and file
732 infrastructure that is similar to an existing Windows installation.
733 Some applications' installation programs want to distribute some of
734 the package's files into the /windows and /windows/system
735 directories in order to run, and unless these exist on your UNIX
736 file system, those programs will not install correctly and probably
737 will not run well, if at all.
738 </para>
739 <para>
740 If you have a DOS partition with MS Windows installed in it, make
741 sure that your UNIX system can 'see' this partition (check your
742 /etc/fstab file or mount the partition manually) so that Wine can
743 run the MS Windows binaries located in the DOS partition. To run
744 without a DOS partition, you need to set a UNIX path to be your
745 drive C, and make sure that the /windows and /windows/system
746 directories point to some place that actually exist.
747 </para>
748 <para>
749 Here's an example, copied from a machine which has no DOS partition
750 but successfully runs Wine:
751 </para>
752 <screen>
753 [Drive C]
754 Path=/var/lib/wine
755 Type=hd
756 Label=MS-DOS
757 Filesystem=win95
758 [wine]
759 Windows=c:\windows
760 System=c:\windows\system
761 Temp=e:\
762 Path=c:\windows;c:\windows\system;c:
763 </screen>
764 <para>
765 In <filename>/var/lib/wine/windows</filename>, you will need to
766 install a <filename>win.ini</filename> config file that you might
767 find on a typical MS Windows 3.1 machine. The directory
768 <filename>/var/lib/wine/windows/system</filename> should exist, but
769 doesn't need to contain anything. However, to use MS DLLs, you can
770 copy them into that directory. Note that this is a contravention of
771 the Windows licence unless Windows is properly installed on the
772 machine. If you have DOS/MS Windows installed on your system, you can
773 mount that partition at bootup by modifying the file
774 <filename>/etc/fstab</filename> in your UNIX partition (assuming that
775 the UNIX kernel supports the DOS/MS Windows filesystem type).
776 </para>
777 <para>
778 If you edit this file by hand, it should contain something similar
779 to the following:
780 </para>
781 <screen>
782/dev/hda1 /dosc msdos uid=0,gid=100,umask=007 0 0
783 </screen>
784 <para>
785 This will allow you to read and write to the DOS partition without
786 being root.
787 </para>
788 </answer>
789 </qandaentry>
790
791 <qandaentry>
792 <question id="If-Wine-completely-replaces-MS-Windows">
793 <para>
794 If Wine completely replaces MS Windows, will it duplicate all of the
795 functions of MS Windows?
796 </para>
797 </question>
798 <answer>
799 <para>
800 Most of them, yes. However, some applications and applets that come
801 with MS Windows, such as File Manager and Calculator, can be
802 considered by some to be redundant, since 32-bit UNIX programs that
803 duplicate these applets' functions already exist.
804 </para>
805 </answer>
806 </qandaentry>
807
808 <qandaentry>
809 <question id="Will-I-install-on-ony-UNIX-file-system">
810 <para>
811 Will I be able to install MS Windows applications in any flavor of a
812 UNIX file system?
813 </para>
814 </question>
815 <answer>
816 <para>
817 Wine is written to be file system independent, so MS Windows
818 applications will install and run under virtually any file system
819 supported by your brand of UNIX.
820 </para>
821 </answer>
822 </qandaentry>
823
824 <qandaentry>
825 <question id="Will-Wine-run-only-under-X">
Francois Gouget6e475592003-04-26 02:10:09 +0000826 <para>Will Wine run only under X, or can it run in character mode?</para>
Tony Lambregts94f83592002-12-03 23:29:28 +0000827 </question>
828 <answer>
829 <para>
830 Most of Wine's development effort is geared against MS Windows' GUI,
831 but some limited support for character mode has appeared, by setting
832 <parameter>GraphicsDriver=ttydrv</parameter> in wine.conf's
833 <parameter>[wine]</parameter> section.
834 </para>
835 <para>
836 Wine's infrastructure is already somewhat prepared for supporting
837 other graphics drivers than x11drv, but no real "alternative"
Francois Gouget6e475592003-04-26 02:10:09 +0000838 graphics driver has been developped yet.
Tony Lambregts94f83592002-12-03 23:29:28 +0000839 </para>
840 </answer>
841 </qandaentry>
842
843 <qandaentry>
844 <question id="Will-Wine-run-under-any-X-window-manager">
845 <para>Will Wine run under any X window manager? Does it require a window manager at all?</para>
846 </question>
847 <answer>
848 <para>
849 Wine is window manager independent, so the X window manager you
850 choose to run has (almost) no bearing on your ability to run MS
851 Windows programs under Wine. Wine uses standard X libraries, so no
852 additional ones are needed. Wine has its own window management,
853 which acts like MS Windows. It can be turned off to use the native
854 window manager by modifying Managed or Desktop settings as described
855 in <command>man wine.conf</command>.
856 </para>
857 </answer>
858 </qandaentry>
859
860 <qandaentry>
861 <question id="Will-32-bit-applications-run-under-Wine">
862 <para>Will 32-bit Windows 95/98 applications run under Wine?</para>
863 </question>
864 <answer>
865 <para>
866 Yes, 32-bit programs are now about as well supported as 16-bit
867 programs.
868 </para>
869 </answer>
870 </qandaentry>
871
872 </qandadiv>
Francois Gougetbbbf7d72002-12-13 00:33:45 +0000873 <qandadiv id="FAQ-Getting-Wine">
Tony Lambregts94f83592002-12-03 23:29:28 +0000874 <title>Getting Wine</title>
875 <qandaentry>
876 <question id="Where-can-I-get-Wine">
877 <para>Where can I get Wine?</para>
878 </question>
879 <answer>
880 <para>
881 Because of lags created by using mirror, word of this newest release
882 may reach you before the release is actually available at the ftp
883 sites listed here. The sources are available from the following
884 locations:
885 </para>
886 <itemizedlist>
887 <listitem>
888 <para>
889 <ulink url="http://www.ibiblio.org/pub/Linux/ALPHA/wine/development/">
890 http://www.ibiblio.org/pub/Linux/ALPHA/wine/development/
891 </ulink>
892 </para>
893 </listitem>
894 <listitem>
895 <para>
896 <ulink url="ftp://ftp.infomagic.com/pub/mirrors/linux/sunsite/ALPHA/wine/development/">
897 ftp://ftp.infomagic.com/pub/mirrors/linux/sunsite/ALPHA/wine/development/
898 </ulink>
899 </para>
900 </listitem>
901
902 <listitem>
903 <para>
904 <ulink url="ftp://ftp.fu-berlin.de/unix/linux/mirrors/sunsite.unc.edu/ALPHA/wine/development/">
905 ftp://ftp.fu-berlin.de/unix/linux/mirrors/sunsite.unc.edu/ALPHA/wine/development/
906 </ulink>
907 </para>
908 </listitem>
909
910 <listitem>
911 <para>
912 <ulink url="ftp://orcus.progsoc.uts.edu.au/pub/Wine/development/">
913 ftp://orcus.progsoc.uts.edu.au/pub/Wine/development/
914 </ulink>
915 </para>
916 </listitem>
917
918 </itemizedlist>
919 <para>
920 It should also be available from any other site that mirrors
921 ibiblio.org. For more download locations, see
922 <ulink url="http://ftp search.lycos.com.">lycos</ulink> Some of
923 these ftp sites may archive previous versions of Wine as well as the
924 current one. To determine which is the latest one, look at the
925 distribution file name, which will take the form
926 Wine-YYYYMMDD.tar.gz. Simply replace YYYYMMDD in the distribution
927 file name with the numbers for year, month and date, respectively.
928 The latest one is the one to get.
929 </para>
930 <para>
931 Wine binary packages are available for several OS'es and
932 distributions. See
933 <ulink url="http://www.winehq.com/download.shtml">
934 the download page</ulink> for the most recent list.
935 </para>
936 </answer>
937 </qandaentry>
938
939 <qandaentry>
940 <question id="Is-there-a-CVS-tree">
941 <para>Is there a CVS tree?</para>
942 </question>
943 <answer>
944 <para>
945 Current Wine sources are also available via anonymous client/server
946 CVS. You will need CVS 1.9 or above. If you are coming from behind a
947 firewall, you will either need a hole in the firewall for the CVS
948 port (2401) or use SOCKS.
949 </para>
950 <para>
951 To login to the CVS tree, do
952 </para>
953 <screen>
954export CVSROOT=:pserver:cvs@cvs.winehq.com/home/wine
955cvs login
956 </screen>
957 <para>
958 Use "cvs" as the password (without the quotes). Note that
959 <filename>/home/wine</filename> is a path on the server, not on your
960 machine. To check out the entire Wine source tree (which may be
961 slow), use
962 </para>
963 <screen>
964cvs -z 3 checkout wine
965 </screen>
966 <para>
967 or if you just want a subtree, or individual file, you can do that
968 too with
969 </para>
970 <screen>
971cvs -z 3 checkout wine/ANNOUNCE
972 </screen>
973 <para>
974 Be aware, though, that getting the entire Wine source tree via CVS
975 is pretty slow, especially compared to getting Wine from an FTP
976 mirror near you. For a CVS mirror list, see
977 <ulink url="http://www.winehq.com/dev.shtml">
978 http://www.winehq.com/dev.shtml</ulink>
979 </para>
980 <para>
981 Patch files are also available, so that you don't have to download,
982 install, and configure the entire distribution each week if you are
983 current to the previous release. Patch file release names follow the
984 same numbering convention as do the general releases, and take the
985 form
986 </para>
987 <para>
988 Wine-YYYYMMDD.diff.gz
989 </para>
990 <para>
991 Patch files are available from the same sites that distribute the
992 full release. To upgrade to a new release by using a patch file,
993 first cd to the top-level directory of the release (the one
994 containing the README file), then do a "make clean", and patch the
995 release with
996 </para>
997 <screen>
998gunzip -c patch-file | patch -p1
999 </screen>
1000 <para>
1001 where patch-file is the name of the patch file something like
1002 Wine-YYYYMMDD.diff.gz. You can then re-run ./configure, and then run
1003 make depend && make
1004 </para>
1005 <para>
1006 If you are mirroring the Wine distribution from the tsx-11 site and
1007 wish to be listed here in this FAQ, please add it to the
1008 "things to go into the documentation" area.
1009 </para>
1010 </answer>
1011 </qandaentry>
1012
1013 <qandaentry>
1014 <question id="Can-I-get-Wine-using-cvsup">
1015 <para>Can I get Wine using cvsup?</para>
1016 </question>
1017 <answer>
1018 <para>
1019 The CVS mirrors don't offer cvsup support yet, but the main server
1020 does. Use a <filename>wine.sup</filename> file of:
1021 </para>
1022 <screen>
1023*default host=cvs.winehq.com
1024*default base=/cvs
1025*default prefix=/cvs/wine
1026*default release=wine
1027*default delete
1028
1029# If your network link is a T1 or faster, comment out the following line.
1030#*default compress
1031
1032*default use-rel-suffix
1033wine
1034 </screen>
1035 </answer>
1036 </qandaentry>
1037 </qandadiv>
1038
1039 <qandadiv id="Installing-And-Configuring-Wine">
1040 <title>Installing And Configuring Wine</title>
1041 <qandaentry>
1042 <question id="How-do-I-compile-the-Wine-source-code">
1043 <para>How do I compile the Wine distribution source code?</para>
1044 </question>
1045 <answer>
1046 <para>
Andreas Mohre85357d2003-02-28 21:49:00 +00001047 See the README (<ulink url="http://www.winehq.com/source/README">http://www.winehq.com/source/README</ulink>) for instructions.
Tony Lambregts94f83592002-12-03 23:29:28 +00001048 Additionally, you may want to set the <parameter>TMPDIR</parameter>
1049 environment variable <command>TMPDIR=~/tmp</command> or
1050 <command>TMPDIR=/tmp</command> (if you are root).
1051 </para>
1052 </answer>
1053 </qandaentry>
1054
1055 <qandaentry>
1056 <question id="How-do-I-install-Windows-in-Wine">
1057 <para>How do I install Windows in Wine under Linux?</para>
1058 </question>
1059 <answer>
1060 <para>
1061 Simple answer: you CAN'T. Windows demands direct access to the
1062 hardware and cannot get it with Wine and UNIX in the way
1063 </para>
1064 <para>
1065 Wine is supposed to be used WITHOUT Windows primarily. If you want
1066 to use a Windows installation, then use an existing installation
1067 alongside the UNIX installation (see the dual-boot HOWTO for your OS
1068 for more details). Or alternatively use the cabextract utility to
1069 extract Windows install archives to a directory that you want to use
1070 as Wine's Windows tree.
1071 </para>
1072 </answer>
1073 </qandaentry>
1074
1075 <qandaentry>
1076 <question id="How-do-I-configure-Wine-to-run-on-my-system">
1077 <para>How do I configure Wine to run on my system?</para>
1078 </question>
1079 <answer>
1080 <para>
1081 Wine requires that you have a config file as
1082 <filename>~/.wine/config</filename>. The format of this file is
1083 explained in the <filename>wine.conf</filename> man page. The file
Andreas Mohre85357d2003-02-28 21:49:00 +00001084 <filename>documentation/samples/config</filename>
1085 (<ulink url="http://www.winehq.com/source/documentation/samples/config">
Tony Lambregts94f83592002-12-03 23:29:28 +00001086 http://www.winehq.com/source/documentation/samples/config</ulink>)
1087 contains a config file example. More explicit directions can be
Andreas Mohre85357d2003-02-28 21:49:00 +00001088 found in the <filename>README</filename> file
1089 (<ulink url="http://www.winehq.com/source/README">
Tony Lambregts94f83592002-12-03 23:29:28 +00001090 http://www.winehq.com/source/README</ulink>) that will be located in
1091 the base Wine directory after you gunzip and untar the distribution
1092 file.
1093 </para>
1094 </answer>
1095 </qandaentry>
1096
1097 <qandaentry>
Dimitrie O. Paunb459bb82002-12-10 19:06:05 +00001098 <question id="How-do-I-upgrade-configuration">
1099 <para>How do I upgrade Wine without losing my working configuration?</para>
1100 </question>
1101 <answer>
1102 <para>
1103 Upgrading the wine installation does not affect the existing wine
1104 configuration. So after upgrading wine you still have the old (working )
1105 wine configuration.
1106 </para>
1107 </answer>
1108 </qandaentry>
1109
1110 <qandaentry>
Tony Lambregts94f83592002-12-03 23:29:28 +00001111 <question id="If-I-use-Windows-which-versions-OK">
1112 <para>If I want to use a Windows install, which versions are OK?</para>
1113 </question>
1114 <answer>
1115 <para>
1116 Either use a classic no-windows install (Wine is getter better all
1117 the time) or use a Win9x install (Win95, 98, 98SE, ME). DON'T
1118 configure Wine to use an NT-based Windows install (NT, Win2K, WinXP).
1119 </para>
1120 </answer>
1121 </qandaentry>
1122
1123 <qandaentry>
1124 <question id="If-I-use-Windows-which-one-works-best">
1125 <para>If I use a Windows install with Wine, which one works best?</para>
1126 </question>
1127 <answer>
1128 <para>
1129 As of 02/2002:
1130 </para>
1131 <para>
1132 I'd say Win98SE is the best version to use with Wine, as it's fairly
1133 widespread amongst developers and relatively old. Using Win2K files
1134 is <emphasis>definitely</emphasis> worse than a plain no-windows
1135 Wine install, and Win ME is said to be problematic, too (as probably
1136 no developer uses it). In short: all Win9x &lt;= W98SE are good.
1137 </para>
1138 </answer>
1139 </qandaentry>
1140
1141 <qandaentry>
1142 <question id="Installing-Visual-Basic-apps-wont-run">
1143 <para>
1144 Installing applications generated by Visual Basic won't run. What
1145 should I do?
1146 </para>
1147 </question>
1148 <answer>
1149 <para>
1150 Make sure you have all the VB runtime libraries installed. You may
Andreas Mohr56e6cd02003-04-01 03:26:13 +00001151 need to use the native DLL vbrun60.dll
Tony Lambregts94f83592002-12-03 23:29:28 +00001152 </para>
1153 </answer>
1154 </qandaentry>
1155
1156 <qandaentry>
1157 <question id="When-I-click-on-exe-file-nothing-happens">
1158 <para>When I click on *.exe file in my file Manager, nothing happens</para>
1159 </question>
1160 <answer>
1161 <para>
1162 The normal Wine releases don't have .exe extensions registered for
1163 Wine in KDE/Gnome yet. You have to open a terminal window instead
1164 (often an icon showing a "black screen") and type something like:
1165 </para>
1166 <screen>
1167cd /my/windows/program/directory
1168wine myprogram.exe
1169 </screen>
1170 <para>
1171 Or alternatively you could download the CodeWeavers Wine preview
1172 which includes .exe extension registration for KDE/Gnome and a nice
1173 setup program.
1174 </para>
1175 </answer>
1176 </qandaentry>
1177
1178 <qandaentry>
1179 <question id="bash-wine-Command-not-found-What-can-I-do">
1180 <para>bash "wine: Command not found" What can I do?</para>
1181 </question>
1182 <answer>
1183 <para>
1184 Try to relogin into bash. That might fix it.
1185 </para>
1186 <para>
1187 If it doesn't, then make sure the wine binary is in your
1188 <parameter>PATH</parameter>.
1189 </para>
1190 <para>
1191 Run as root:
1192 </Para>
1193 <screen>
1194find / -name "wine" -type f -perm +111
1195 </screen>
1196 <para>
1197 to find the path where the wine binary is in. Then check whether
1198 <parameter>PATH</parameter> includes it:
1199 </para>
1200 <screen>
1201echo $PATH
1202 </screen>
1203 <para>
1204 If not, add that e.g. to <filename>/etc/profile</filename> by doing:
1205 </para>
1206 <screen>
1207export PATH=$PATH:/path/to/wine/binary
1208 </screen>
1209 <para>
1210 That should help.
1211 </para>
1212 <para>
1213 If you used a package manager (<command>rpm</command> or
1214 <command>apt</command>) - Verify your packages. The package
1215 <filename>winesetuptk.rpm</filename> is only a front-end for
1216 making a meaningfull config file, it DOES NOT install the wine
1217 package...
1218 </para>
1219 <para>
1220 For complete packages, use <ulink url="http://www.rpmfind.net/">
1221 www.rpmfind.net</ulink> or the <ulink url="http://www.winehq.org/download/">
1222 Download</ulink> section.
1223 </para>
1224 </answer>
1225 </qandaentry>
1226
1227 <qandaentry>
1228 <question id="How-do-I-remove-Wine-from-my-Computer">
1229 <para>How do I remove Wine from my Computer?</para>
1230 </question>
1231 <answer>
1232 <para>
1233 All you have to do is to type:
1234 </para>
1235 <screen>
1236rm -fR \[/path/\]Wine*
1237 </screen>
1238 <para>
1239 Make sure that you specify the exact path when using the powerful
1240 <command>rm -fR</command> command. If you are afraid that you might
1241 delete something important, or might otherwise delete other files
1242 within your filesystem, <command>cd</command> into each Wine
1243 subdirectory singly and delete the files found there manually,
1244 one file or directory at a time.
1245 </para>
1246 <para>
1247 Neither the Wine developers and programmers, nor the Wine FAQ
1248 author/maintainer, can be held responsible for your deleting any
1249 files in your own filesystem.
1250 </para>
1251 </answer>
1252 </qandaentry>
1253 </qandadiv>
1254
1255 <qandadiv id="About-running-Wine">
1256 <title>About running Wine</title>
1257 <para>
1258 In case of problems when running Wine, You may also want to see the
1259 <ulink url="http://www.winehq.org/fom-meta/cache/19.html">
1260 Wine Troubleshooting Guide</ulink>.
1261 </para>
1262 <qandaentry>
1263 <question id="How-do-I-run-an-MS-Windows-program">
1264 <para>How do I run an MS Windows program under Wine?</para>
1265 </question>
1266 <answer>
1267 <para>
1268 When invoking Wine, you must specify the entire path to the
1269 executable, or by filename only. For example to run Windows'
1270 solitaire, type any of the following:
1271 </para>
1272 <itemizedlist>
1273 <listitem>
1274 <para>
1275 <command>wine sol</command> or <command>wine sol.exe</command>
1276 (using the search path to locate the file).
1277 </para>
1278 </listitem>
1279 <listitem>
1280 <para>
1281 <command>wine c:\\windows\\sol.exe</command>
1282 (using a DOS filename).
1283 </para>
1284 </listitem>
1285 <listitem>
1286 <para>
1287 <command>wine /usr/windows/sol.exe</command>
1288 (using a UNIX filename).
1289 </para>
1290 </listitem>
1291 <listitem>
1292 <para>
1293 <command>wine "c:\windows\sol.exe"</command>
1294 (using quoted DOS filename).
1295 </para>
1296 </listitem>
1297 </itemizedlist>
1298 <para>
1299 The path of the file will also be added to the path when a full name
1300 is supplied on the command line.
1301
1302 </para>
1303 </answer>
1304 </qandaentry>
1305
1306 <qandaentry>
1307 <question id="Wine-cannot-find-MS-Windows-on-my-drive">
1308 <para>
1309 I have installed and configured Wine, but Wine cannot find MS
1310 Windows on my drive. Where did I go wrong?
1311 </para>
1312 </question>
1313 <answer>
1314 <para>
1315 If you have a DOS partition, first make sure that you have mounted
1316 it, either by putting the entry into <filename>/etc/fstab</filename>,
1317 or by manually mounting it.
1318 </para>
1319 <para>
1320 Remember too that unless your version of UNIX can see through it, or
1321 you are running a utility that can see through it, your DOS
1322 partition must not be located on a Drivespaced, Doublespaced or
1323 Stackered partition, as neither Linux, FreeBSD, NetBSD or Wine can
1324 natively 'see' files located in these compressed DOS partitions.
1325 </para>
1326 <para>
1327 Check your path statements in the <filename>wine.conf</filename>
1328 file. No capital letters may be used in paths, as they are
1329 automatically converted to lowercase.
1330 </para>
1331 </answer>
1332 </qandaentry>
1333
1334 <qandaentry>
1335 <question id="Parts-of-my-app-do-not-work-What-is-wrong">
1336 <para>
1337 I was able to get various MS Windows programs to run, but parts of
1338 them do not work. What is wrong?
1339 </para>
1340 </question>
1341 <answer>
1342 <para>
1343 Wine is not complete at this time, so some of each programs'
1344 features may not work. They will in time as more of the MS
1345 Windows API calls are included in Wine.
1346 </para>
1347 </answer>
1348 </qandaentry>
1349
1350 <qandaentry>
1351 <question id="Menus-do-not-work-how-can-I-exit">
1352 <para>
1353 I have run various MS Windows programs, but since the program menus
1354 do not work, how can I exit these programs?
1355 </para>
1356 </question>
1357 <answer>
1358 <para>
1359 Kill the xterm shell window that you called up to run your MS
1360 Windows program, and the X window that appeared with the program
1361 will be killed too.
1362 </para>
1363 </answer>
1364 </qandaentry>
1365
1366 <qandaentry>
1367 <question id="Can-I-use-Wine-with-other-Linux-Distros">
1368 <para>Can I use Wine with SuSe, Peanut or other Linux Distro's?</para>
1369 </question>
1370 <answer>
1371 <para>
1372 You can use Wine on any sufficiently recent Linux installation. The
1373 amount of work getting Wine up and running depends on whether there
1374 are proper packages available or a source compile has to be done.
1375 </para>
1376 </answer>
1377 </qandaentry>
1378
1379 <qandaentry>
1380 <question id="Does-Wine-work-with-AMD-Processors">
1381 <para>Does Wine work with AMD Processors?</para>
1382 </question>
1383 <answer>
1384 <para>
1385 Yes, it does.
1386 </para>
1387 </answer>
1388 </qandaentry>
1389
1390 <qandaentry>
1391 <question id="Can-I-launch-Unix-app-from-Windows-app">
1392 <para> Can I launch a Unix program from a Windows program?</para>
1393 </question>
1394 <answer>
1395 <para>
1396 Sure, Wine supports that. Just enter the unix program name wherever
1397 a program has something that it's supposed to execute,and then it
1398 should just work.
1399 </para>
1400 </answer>
1401 </qandaentry>
Tony Lambregtsc531c1c2003-02-12 01:20:35 +00001402 <qandaentry>
1403 <question id="Error-with-installshield-6">
1404 <para>
1405 I get <quote>Error installing iKernel.exe: (0x1400)</quote>
1406 when running an Installshield 6 installer
1407 </para>
1408 </question>
1409 <answer>
1410 <para>
1411 If you get the error "Error installing iKernel.exe: (0x1400)" at any
1412 point, it's probably because there are leftover processes from a
1413 previous try. You can verify this with the command
1414 </para>
1415 <para><command>$ ps augxw | grep wine</command></para>
1416 <para>
1417 If that command shows old copies of wine running your setup,
1418 you need to kill them before you can run the setup program.
1419 If there are no other Wine programs running, you can kill them
1420 all with the command
1421 </para>
1422 <para><command>$ killall wine</command></para>
1423 <para>
1424 If you're also running Wine programs you care about, you'll
1425 have to kill off the old Setup instances one by one using
1426 kill and the individual PIDs (or perhaps Wine's spiffy Task Manager,
1427 which doesn't exist yet).
1428 </para>
1429 <para>
1430 You should repeat the <command>ps</command> to make sure the old
1431 wines are gone.
1432 </para>
1433 </answer>
1434 </qandaentry>
Tony Lambregts94f83592002-12-03 23:29:28 +00001435 </qandadiv>
1436
1437 <qandadiv id="Getting-help">
1438 <title>Getting help</title>
1439 <qandaentry>
1440 <question id="Is-there-any-documentation-for-Wine">
1441 <para>Is there any documentation for Wine?</para>
1442 </question>
1443 <answer>
1444 <para>
1445 Yes, see <ulink url="http://www.winehq.org/support.shtml">
1446 http://www.winehq.com/support.shtml.</ulink>
1447 </para>
1448 </answer>
1449 </qandaentry>
1450
1451 <qandaentry>
1452 <question id="I-have-written-some-documententation">
1453 <para>
1454 I couldn't find the answer to my question in the documentation, but
1455 I've written a document explaining how to solve it. What should I do?
1456 </para>
1457 </question>
1458 <answer>
1459 <para>
1460 Updates and additions to the Wine documentation directory should be
1461 sent to the wine-patches mailing list at
1462 <ulink url="http://www.winehq.com/dev.shtml#ml">
1463 http://www.winehq.com/dev.shtml#ml</ulink>. Website and FAQ
1464 additions should be added to the appropriate Wine Knowledgebase
1465 directory.
1466 </para>
1467 </answer>
1468 </qandaentry>
1469
1470 <qandaentry>
1471 <question id="Is-there-a-Usenet-newsgroup-for-Wine">
1472 <para>Is there a Usenet newsgroup for Wine?</para>
1473 </question>
1474 <answer>
1475 <para>
1476 Yes, and it's called
1477 <ulink url="news:comp.emulators.ms-windows.wine">
1478 comp.emulators.ms-windows.wine</ulink>. The newsgroup serves as a
1479 place for users and developers to discuss Wine, and for minor
1480 announcements for the general public. Major announcements will be
1481 crossposted to other appropriate newsgroups, such as the following:
1482 </para>
1483 <itemizedlist>
1484 <listitem>
1485 <para>
1486 <ulink url="news:comp.os.linux.announce">
1487 comp.os.linux.announce</ulink>
1488 </para>
1489 </listitem>
1490 <listitem>
1491 <para>
1492 <ulink url="news:ccomp.windows.x.announce">
1493 comp.windows.x.announce</ulink>
1494 </para>
1495 </listitem>
1496 <listitem>
1497 <para>
1498 <ulink url="news:ccomp.emulators.announce">
1499 comp.emulators.announce</ulink>
1500 </para>
1501 </listitem>
1502 </itemizedlist>
1503 <para>
1504 If your Usenet site does not carry these newsgroups, please urge
1505 your ISP's sysadmin to add and/or uplink them.
1506 </para>
1507 </answer>
1508 </qandaentry>
1509
1510 <qandaentry>
1511 <question id="Is-there-a-World-Wide-Web-site-for-Wine">
1512 <para>Is there a World Wide Web site for Wine?</para>
1513 </question>
1514 <answer>
1515 <para>
Andreas Mohre85357d2003-02-28 21:49:00 +00001516 Wine HQ (<ulink url="http://www.winehq.com">http://www.winehq.com</ulink>) is the official site.
Tony Lambregts94f83592002-12-03 23:29:28 +00001517 </para>
1518 </answer>
1519 </qandaentry>
1520
1521 <qandaentry>
1522 <question id="Is-there-an-IRC-channel-for-Wine">
1523 <para>Is there an IRC channel for Wine?</para>
1524 </question>
1525 <answer>
1526 <para>
1527 Sure. It's channel <filename>#WineHQ</filename> on
Jeff Smith344ed412002-12-24 00:56:33 +00001528 <filename>irc.freenode.net</filename> see
Andreas Mohre85357d2003-02-28 21:49:00 +00001529 (<ulink url="http://freenode.net">http://freenode.net</ulink>).
1530 Usually several Wine developers hang out there just to help YOU ;-)
Tony Lambregts94f83592002-12-03 23:29:28 +00001531 </para>
1532 </answer>
1533 </qandaentry>
1534
1535 <qandaentry>
1536 <question id="I-think-I-found-a-bug-How-do-I-report-it">
1537 <para>
1538 I think I've found a bug. How do I report this bug to the Wine
1539 programming team?
1540 </para>
1541 </question>
1542 <answer>
1543 <para>
1544 Bug reports should be submitted to our online Bugzilla system
Andreas Mohre85357d2003-02-28 21:49:00 +00001545 (<ulink url="http://bugs.winehq.com">http://bugs.winehq.com/</ulink>).
1546 You should include at least the following:
Tony Lambregts94f83592002-12-03 23:29:28 +00001547 </para>
1548 <itemizedlist>
1549 <listitem>
1550 <para>
1551 The Wine version tested
1552 </para>
1553 </listitem>
1554 <listitem>
1555 <para>
1556 The MS Windows program name and, if possible, the version number
1557 of the software tested
1558 </para>
1559 </listitem>
1560 <listitem>
1561 <para>
1562 A brief description of the bug
1563 </para>
1564 </listitem>
1565 <listitem>
1566 <para>
1567 The relevant part(s) of the output of the Wine debugger
1568 </para>
1569 </listitem>
1570 <listitem>
1571 <para>
1572 A screenshot of the visual problem, if applicable
1573 </para>
1574 </listitem>
1575 </itemizedlist>
1576 <para>
1577 For more information about reporting bugs please see the
1578 <ulink url="http://www.winehq.org/Docs/wine-user/bug-reporting.shtml">
1579 How to report a bug</ulink> section of the Wine Users Guide.
1580 </para>
1581 </answer>
1582 </qandaentry>
1583 </qandadiv>
1584
1585 <qandadiv id="Helping-Wine-or-becoming-a-Wine-developer">
1586 <title>Helping Wine or becoming a Wine developer</title>
1587 <qandaentry>
1588 <question id="How-do-I-become-a-Wine-developer">
1589 <para>How do I become a Wine developer? What do I need to know?</para>
1590 </question>
1591 <answer>
1592 <para>
1593 If you can program C, that's a good start. Download the sources via
1594 CVS, subscribe to the mailing lists, look around the source, and pay
1595 attention to the comp.emulators.ms-windows.wine newsgroup and the
Andreas Mohre85357d2003-02-28 21:49:00 +00001596 mailing lists (<ulink url="http://www.winehq.com/dev.shtml#ml">http://www.winehq.com/dev.shtml#ml</ulink>). See if there's anything
Tony Lambregts94f83592002-12-03 23:29:28 +00001597 that you think you can fix or work on. You won't have much trouble
1598 finding areas that need work in Wine (grep for FIXMEs in the source).
1599 </para>
1600 </answer>
1601 </qandaentry>
1602
1603 <qandaentry>
1604 <question id="How-can-I-contribute-to-the-Wine-project">
1605 <para>How can I help contribute to the Wine project, and in what way(s)?</para>
1606 </question>
1607 <answer>
1608 <para>
1609 You can contribute programming or documentation skills, or monetary
1610 or equipment donations, to aid the Wine developers in reaching their
1611 goals.
1612 </para>
1613 <para>
1614 For a list of ideas of how you can help, please consult the
1615 <ulink url="http://www.winehq.com/about/index.php?contrib">
1616 Wine contrib page</ulink>.
1617 </para>
1618 </answer>
1619 </qandaentry>
1620
1621 <qandaentry>
1622 <question id="I-want-to-help-beta-test-Wine">
1623 <para>I want to help beta test Wine. How can I do this?</para>
1624 </question>
1625 <answer>
1626 <para>
1627 Wine still consists of some Alpha code at this time. However, anyone
1628 is welcome to download the latest version, and try it out at any
1629 time.
1630 </para>
1631 </answer>
1632 </qandaentry>
1633
1634 <qandaentry>
1635 <question id="I-wrote-some-code-I-would-like-to-submit">
1636 <para>
1637 I have written some code that I would like to submit to the Wine
1638 project. How do I go about doing this?
1639 </para>
1640 </question>
1641 <answer>
1642 <para>
1643 Patches are greatly appreciated and should be submitted to the
1644 wine-patches mailing list
Andreas Mohre85357d2003-02-28 21:49:00 +00001645 (<ulink url="http://www.winehq.com/dev.shtml#ml">http://www.winehq.com/dev.shtml#ml</ulink>). Also see this page for
Tony Lambregts94f83592002-12-03 23:29:28 +00001646 a description of what happens to submitted patches.
1647 </para>
1648 </answer>
1649 </qandaentry>
1650 </qandadiv>
1651
1652 <qandadiv id="Developing-programs-using-Wine-WineLib">
1653 <title>Developing programs using Wine/WineLib</title>
1654 <qandaentry>
1655 <question id="Can-I-use-Wine-to-port-Win32-sources-to-Unix">
1656 <para>Can I use Wine to port my Win32 sources to Unix?</para>
1657 </question>
1658 <answer>
1659 <para>
1660 That is the idea of Winelib. Right now you may still have some
1661 difficulties, but this is changing all the time. Read the
Andreas Mohre85357d2003-02-28 21:49:00 +00001662 <ulink url="http://www.winehq.org/Docs/winelib-user/">Winelib User's Guide</ulink> for info.
Tony Lambregts94f83592002-12-03 23:29:28 +00001663
1664 </para>
1665 </answer>
1666 </qandaentry>
1667 <qandaentry>
1668 <question id="Will-MFC-work-with-Wine-What-do-I-need-to-do">
1669 <para>Will MFC work with Wine? What do I need to do?</para>
1670 </question>
1671 <answer>
1672 <para>
1673 Wine is not implementing an MFC replacement nor does it intend to.
1674 However it is possible (with a lot of work) to compile the MFC from
1675 source and thus produce an <filename>mfc42.dll.so</filename> library.
1676 </para>
1677 <para>
1678 Please refer to the
Andreas Mohre85357d2003-02-28 21:49:00 +00001679 <ulink url="http://www.winehq.org/Docs/winelib-user/">Winelib User's Guide</ulink> for how to do this.
Tony Lambregts94f83592002-12-03 23:29:28 +00001680 </para>
1681 </answer>
1682 </qandaentry>
1683
1684 <qandaentry>
1685 <question id="Are-there-commercial-apps-ported-using-Wine">
1686 <para>
1687 Are there any commercial applications which have been ported
1688 using Wine?
1689 </para>
1690 </question>
1691 <answer>
1692 <para>
1693 A few examples of applications using Winelib:
1694 </para>
1695 <itemizedlist>
1696 <listitem>
1697 <para>
1698 Corel's WordPerfect Office Suite
Tony Lambregts94f83592002-12-03 23:29:28 +00001699 </para>
1700 </listitem>
1701 <listitem>
1702 <para>
Dimitrie O. Paunb459bb82002-12-10 19:06:05 +00001703 Ability Office
Andreas Mohre85357d2003-02-28 21:49:00 +00001704 (<ulink url="http://www.ability.com/linux/abilitylinux.php">http://www.ability.com/linux/abilitylinux.php</ulink>)
Tony Lambregts94f83592002-12-03 23:29:28 +00001705 </para>
1706 </listitem>
1707 <listitem>
1708 <para>
1709 IBM's Websphere
Andreas Mohre85357d2003-02-28 21:49:00 +00001710 (<ulink url="http://www7b.boulder.ibm.com/dl/swws/swwsgddb-p">http://www7b.boulder.ibm.com/dl/swws/swwsgddb-p</ulink>)
Tony Lambregts94f83592002-12-03 23:29:28 +00001711 </para>
1712 </listitem>
1713 </itemizedlist>
1714 <para>
1715 Many other important applications have already been ported. (we are
1716 speaking of several top 500 applications here)
1717 </para>
1718 </answer>
1719 </qandaentry>
1720
1721 <qandaentry>
1722 <question id="How-can-I-detect-Wine">
1723 <para>How can I detect Wine?</para>
1724 </question>
1725 <answer>
1726 <para>
1727 You really shouldn't want to do this. If there's a quirk in Wine
1728 you need to work around, it's much better to fix it in Wine (after
1729 all you're a developer, so you should be able to gather enough help
1730 and knowledge to fix it for real).
1731 </para>
1732 </answer>
1733 </qandaentry>
1734
1735
1736 </qandadiv>
1737
1738 <qandadiv id="Wine-HQ-issues">
1739 <title>Wine HQ issues</title>
1740 <qandaentry>
1741 <question id="Why-are-the-maillists-set-to-reply-to-author">
1742 <para>
1743 Why are the maillists set to reply to author, not to mailing list?
1744 </para>
1745 </question>
1746 <answer>
1747 <para>
1748 There are very valid reasons for doing so.
1749 </para>
1750 </answer>
1751 </qandaentry>
1752
1753 <qandaentry>
1754 <question id="How-to-unsubscribe-from-the-mailing-lists">
1755 <para>How to unsubscribe from the mailing lists?</para>
1756 </question>
1757 <answer>
1758 <para>
Andreas Mohre85357d2003-02-28 21:49:00 +00001759 Please see: <ulink url="http://www.winehq.org/development/#ml">http://www.winehq.org/development/#ml</ulink>
Tony Lambregts94f83592002-12-03 23:29:28 +00001760 </para>
1761 </answer>
1762 </qandaentry>
1763
1764 </qandadiv>
1765
1766 </qandaset>
1767
1768<!-- Keep this comment at the end of the file
1769Local variables:
1770mode: sgml
Dimitrie O. Paun255ecc52003-04-19 02:50:57 +00001771sgml-parent-document:("wine-devel.sgml" "book" "part" "chapter" "")
Tony Lambregts94f83592002-12-03 23:29:28 +00001772End:
1773-->