README 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. 1. INTRODUCTION
  2. Wine is a program which allows running Microsoft Windows programs
  3. (including DOS, Windows 3.x, Win32, and Win64 executables) on Unix.
  4. It consists of a program loader which loads and executes a Microsoft
  5. Windows binary, and a library (called Winelib) that implements Windows
  6. API calls using their Unix, X11 or Mac equivalents. The library may also
  7. be used for porting Windows code into native Unix executables.
  8. Wine is free software, released under the GNU LGPL; see the file
  9. LICENSE for the details.
  10. 2. QUICK START
  11. From the top-level directory of the Wine source (which contains this file),
  12. run:
  13. ./configure
  14. make
  15. Then either install Wine:
  16. make install
  17. Or run Wine directly from the build directory:
  18. ./wine notepad
  19. Run programs as "wine program". For more information and problem
  20. resolution, read the rest of this file, the Wine man page, and
  21. especially the wealth of information found at https://www.winehq.org.
  22. 3. REQUIREMENTS
  23. To compile and run Wine, you must have one of the following:
  24. Linux version 2.0.36 or later
  25. FreeBSD 8.0 or later
  26. Solaris x86 9 or later
  27. NetBSD-current
  28. Mac OS X 10.5 or later
  29. As Wine requires kernel-level thread support to run, only the operating
  30. systems mentioned above are supported. Other operating systems which
  31. support kernel threads may be supported in the future.
  32. FreeBSD info:
  33. Wine will generally not work properly on versions before FreeBSD 8.0.
  34. See https://wiki.freebsd.org/Wine for more information.
  35. Solaris info:
  36. You will most likely need to build Wine with the GNU toolchain
  37. (gcc, gas, etc.). Warning : installing gas does *not* ensure that it
  38. will be used by gcc. Recompiling gcc after installing gas or
  39. symlinking cc, as and ld to the gnu tools is said to be necessary.
  40. NetBSD info:
  41. Make sure you have the USER_LDT, SYSVSHM, SYSVSEM, and SYSVMSG options
  42. turned on in your kernel.
  43. Mac OS X info:
  44. You need Xcode 2.4 or later to build properly on x86.
  45. The Mac driver requires OS X 10.6 or later and won't be built on 10.5.
  46. Supported file systems:
  47. Wine should run on most file systems. A few compatibility problems
  48. have also been reported using files accessed through Samba. Also,
  49. NTFS does not provide all the file system features needed by some
  50. applications. Using a native Unix file system is recommended.
  51. Basic requirements:
  52. You need to have the X11 development include files installed
  53. (called xlib6g-dev in Debian and XFree86-devel in Red Hat).
  54. Of course you also need "make" (most likely GNU make).
  55. You also need flex version 2.5.33 or later and bison.
  56. Optional support libraries:
  57. Configure will display notices when optional libraries are not found
  58. on your system. See https://wiki.winehq.org/Recommended_Packages for
  59. hints about the packages you should install. On 64-bit platforms,
  60. you have to make sure to install the 32-bit versions of these
  61. libraries.
  62. 4. COMPILATION
  63. To build Wine, do:
  64. ./configure
  65. make
  66. This will build the program "wine" and numerous support libraries/binaries.
  67. The program "wine" will load and run Windows executables.
  68. The library "libwine" ("Winelib") can be used to compile and link
  69. Windows source code under Unix.
  70. To see compile configuration options, do ./configure --help.
  71. For more information, see https://wiki.winehq.org/Building_Wine
  72. 5. SETUP
  73. Once Wine has been built correctly, you can do "make install"; this
  74. will install the wine executable and libraries, the Wine man page, and
  75. other needed files.
  76. Don't forget to uninstall any conflicting previous Wine installation
  77. first. Try either "dpkg -r wine" or "rpm -e wine" or "make uninstall"
  78. before installing.
  79. Once installed, you can run the "winecfg" configuration tool. See the
  80. Support area at https://www.winehq.org/ for configuration hints.
  81. 6. RUNNING PROGRAMS
  82. When invoking Wine, you may specify the entire path to the executable,
  83. or a filename only.
  84. For example: to run Notepad:
  85. wine notepad (using the search Path as specified in
  86. wine notepad.exe the registry to locate the file)
  87. wine c:\\windows\\notepad.exe (using DOS filename syntax)
  88. wine ~/.wine/drive_c/windows/notepad.exe (using Unix filename syntax)
  89. wine notepad.exe readme.txt (calling program with parameters)
  90. Wine is not perfect, so some programs may crash. If that happens you
  91. will get a crash log that you should attach to your report when filing
  92. a bug.
  93. 7. GETTING MORE INFORMATION
  94. WWW: A great deal of information about Wine is available from WineHQ at
  95. https://www.winehq.org/ : various Wine Guides, application database,
  96. bug tracking. This is probably the best starting point.
  97. FAQ: The Wine FAQ is located at https://www.winehq.org/FAQ
  98. Wiki: The Wine Wiki is located at https://wiki.winehq.org
  99. Mailing lists:
  100. There are several mailing lists for Wine users and developers;
  101. see https://www.winehq.org/forums for more information.
  102. Bugs: Report bugs to Wine Bugzilla at https://bugs.winehq.org
  103. Please search the bugzilla database to check whether your
  104. problem is already known or fixed before posting a bug report.
  105. IRC: Online help is available at channel #WineHQ on irc.freenode.net.
  106. Git: The current Wine development tree is available through Git.
  107. Go to https://www.winehq.org/git for more information.
  108. If you add something, or fix a bug, please send a patch (preferably
  109. using git-format-patch) to the wine-devel@winehq.org list for
  110. inclusion in the next release.
  111. --
  112. Alexandre Julliard
  113. julliard@winehq.org