Software:Wine

From HandWiki
Short description: Windows compatibility software
Wine
WINE-logo.svg
Winecfg in 32-bit mode (v 5.5).png
winecfg configures Wine
Original author(s)Bob Amstadt, Eric Youngdale
Developer(s)Wine authors[1]
(1,755)
Initial release4 July 1993; 31 years ago (1993-07-04)
Stable release7.0[2] (January 18, 2022; 2 years ago (2022-01-18)) [±]
Repositorygitlab.winehq.org/wine/wine
Written inC
Operating system
PlatformIA-32, x86-64, ARM
Available inMultilingual
TypeCompatibility layer
LicenseLGPL-2.1-or-later[5][6]
Websitewinehq.org

Wine[lower-alpha 1] is a free and open-source compatibility layer to allow application software and computer games developed for Microsoft Windows to run on Unix-like operating systems. Developers can compile Windows applications against WineLib to help port them to Unix-like systems. Wine is predominantly written using black-box testing reverse-engineering, to avoid copyright issues. No code emulation or virtualization occurs. Wine is primarily developed for Linux and macOS.

In a 2007 survey by desktoplinux.com of 38,500 Linux desktop users, 31.5% of respondents reported using Wine to run Windows applications.[8] This plurality was larger than all x86 virtualization programs combined, and larger than the 27.9% who reported not running Windows applications.[9]

History

WINE project.png

Bob Amstadt, the initial project leader, and Eric Youngdale started the Wine project in 1993 as a way to run Windows applications on Linux. It was inspired by two Sun Microsystems products, Wabi for the Solaris operating system, and the Public Windows Initiative,[10] which was an attempt to get the Windows API fully reimplemented in the public domain as an ISO standard but rejected due to pressure from Microsoft in 1996.[11] Wine originally targeted 16-bit applications for Windows 3.x, but (As of 2010) focuses on 32-bit and 64-bit versions which have become the standard on newer operating systems. The project originated in discussions on Usenet in comp.os.linux in June 1993.[12] Alexandre Julliard has led the project since 1994.

The project has proven time-consuming and difficult for the developers, mostly because of incomplete and incorrect documentation of the Windows API. While Microsoft extensively documents most Win32 functions, some areas such as file formats and protocols have no publicly or incomplete available specification from Microsoft, and Windows also includes undocumented low-level functions, undocumented behavior and obscure bugs that Wine must duplicate precisely in order to allow some applications to work properly.[13] Consequently, the Wine team has reverse-engineered many function calls and file formats in such areas as thunking.[citation needed]

The Wine project originally released Wine under the same MIT License as the X Window System, but owing to concern about proprietary versions of Wine not contributing their changes back to the core project,[14] work as of March 2002 has used the LGPL for its licensing.[15]

Wine officially entered beta with version 0.9 on 25 October 2005.[16] Version 1.0 was released on 17 June 2008,[17] after 15 years of development. Version 1.2 was released on 16 July 2010,[18] version 1.4 on 7 March 2012,[19] version 1.6 on 18 July 2013[20], version 1.8 on 19 December 2015[21] and version 9.0 on 16 January 2024.[22]. Development versions are released roughly every two weeks.

Wine-staging is an independently maintained set of aggressive patches not deemed ready by WineHQ developers for merging into the Wine repository, but still considered useful by the wine-compholio fork. It mainly covers experimental functions and bug fixes. Since January 2017, patches in wine-staging begins to be actively merged into the WineHQ upstream as wine-compholio transferred the project to Alistair Leslie-Hughes, a key WineHQ developer. (As of 2019), WineHQ also provides pre-built versions of wine-staging.[23]

Corporate sponsorship

The main corporate sponsor of Wine is CodeWeavers, which employs Julliard and many other Wine developers to work on Wine and on CrossOver, CodeWeavers' supported version of Wine. CrossOver includes some application-specific tweaks not considered suitable for the upstream version, as well as some additional proprietary components.[24]

The involvement of Corel for a time assisted the project, chiefly by employing Julliard and others to work on it. Corel had an interest in porting WordPerfect Office, its office suite, to Linux (especially Corel Linux). Corel later cancelled all Linux-related projects after Microsoft made major investments in Corel, stopping their Wine effort.[25]

Other corporate sponsors include Google, which hired CodeWeavers to fix Wine so Picasa ran well enough to be ported directly to Linux using the same binary as on Windows; Google later paid for improvements to Wine's support for Adobe Photoshop CS2.[26] Wine is also a regular beneficiary of Google's Summer of Code program.[27]

Valve works with CodeWeavers to develop Proton, a Wine-based compatibility layer for Microsoft Windows games to run on Linux-based operating systems. Proton includes several patches that upstream Wine does not accept for various reasons, such as Linux-specific implementations of Win32 functions. Valve's involvement in the development of Proton (and, thus, the improvement of Linux gaming) has helped to improve Wine compatibility with Windows games.[citation needed]

Design

The goal of Wine is to implement the Windows APIs fully or partially that are required by programs that the users of Wine wish to run on top of a Unix-like system.

Basic architecture

The programming interface of Microsoft Windows consists largely of dynamic-link libraries (DLLs). These contain a huge number of wrapper sub-routines for the system calls of the kernel, the NTOS kernel-mode program (ntoskrnl.exe). A typical Windows program calls some Windows DLLs, which in turn calls user-mode gdi/user32 libraries, which in turn uses the kernel32.dll (win32 subsystem) responsible for dealing with the kernel through system calls. The system-call layer is considered private to Microsoft programmers as documentation is not publicly available, and published interfaces all rely on subsystems running on top of the kernel. Besides these, there are a number of programming interfaces implemented as services that run as separate processes. Applications communicate with user-mode services through RPCs.[28]

Wine implements the Windows application binary interface (ABI) entirely in user space, rather than as a kernel module. Wine mostly mirrors the hierarchy, with services normally provided by the kernel in Windows[29] instead provided by a daemon known as the wineserver, whose task is to implement basic Windows functionality, as well as integration with the X Window System, and translation of signals into native Windows exceptions. Although Wineserver implements some aspects of the Windows kernel, it is not possible to use native Windows drivers with it, due to Wine's underlying architecture.[28]

Libraries and applications

Wine allows for loading both Windows DLLs and Unix shared objects for its Windows programs. Its built-in implementation of the most basic Windows DLLs, namely NTDLL, KERNEL32, GDI32, and USER32, uses the shared object method because they must use functions in the host operating system as well. Higher-level libraries, such as WineD3D, are free to use the DLL format. In many cases users can choose to load a DLL from Windows instead of the one implemented by Wine. Doing so can provide functionalities not yet implemented by Wine, but may also cause malfunctions if it relies on something else not present in Wine.[28]

Wine tracks its state of implementation through automated unit testing done at every git commit.[30]

Graphics and gaming

While most office software does not make use of complex GPU-accelerated graphics APIs, computer games do. To run these games properly, Wine would have to forward the drawing instructions to the host OS, and even translate them to something the host can understand.

DirectX is a collection of Microsoft APIs for rendering, audio and input. As of 2019, Wine 4.0 contains a DirectX 12 implementation for Vulkan API, and DirectX 11.2 for OpenGL.[31] Wine 4.0 also allows Wine to run Vulkan applications by handing draw commands to the host OS, or in the case of macOS, by translating them into the Metal API by MoltenVK.[31]

XAudio
(As of February 2019), Wine 4.3 uses the FAudio library (and Wine 4.13 included a fix for it) to implement the XAudio2 audio API (and more).[32][33]
XInput and Raw Input
Wine, since 4.0 (2019), supports game controllers through its builtin implementations of these libraries. They are built as Unix shared objects as they need to access the controller interfaces of the underlying OS, specifically through SDL.[31]
Direct2D
Wine 4.0 supports Direct2D 1.2.[31]

Direct3D

Much of Wine's DirectX effort goes into building WineD3D, a translation layer from Direct3D and DirectDraw API calls into OpenGL. As of 2019, this component supports up to DirectX 11.[31] As of 12 December 2016, Wine is good enough to run Overwatch with D3D11.[34] Besides being used in Wine, WineD3D DLLs have also been used on Windows itself, allowing for older GPUs to run games using newer DirectX versions and for old DDraw-based games to render correctly.[35]

Some work is ongoing to move the Direct3D backend to Vulkan API. Direct3D 12 support in 4.0 is provided by a "vkd3d" subproject,[31] and WineD3D has in 2019 been experimentally ported to use the Vulkan API.[36] Another implementation, DXVK, translates Direct3D 9, 10, and 11 calls using Vulkan as well and is a separate project.[37]

Wine, when patched, can alternatively run Direct3D 9 API commands directly via a free and open-source Gallium3D State Tracker (aka Gallium3D GPU driver) without translation into OpenGL API calls. In this case, the Gallium3D layer allows a direct pass-through of DX9 drawing commands which results in performance improvements of up to a factor of 2.[38] As of 2020, the project is named Gallium.Nine. It is available now as a separate standalone package and no longer needs a patched Wine version.[39]

User interface

Wine is usually invoked from the command-line interpreter: wine program.exe.[40]

winecfg

A screenshot showing how Wine can be configured to mimic different versions of Windows, going as far back as Windows 2.0 in the 32-bit version (64-bit Wine supports only 64-bit versions of Windows)

There is the utility winecfg that starts a graphical user interface with controls for adjusting basic options.[41] It is a GUI configuration utility included with Wine. Winecfg makes configuring Wine easier by making it unnecessary to edit the registry directly, although, if needed, this can be done with the included registry editor (similar to Windows regedit).

Third-party applications

PlayOnLinux

Some applications require more tweaking than simply installing the application in order to work properly, such as manually configuring Wine to use certain Windows DLLs. The Wine project does not integrate such workarounds into the Wine codebase, instead preferring to focus solely on improving Wine's implementation of the Windows API. While this approach focuses Wine development on long-term compatibility, it makes it difficult for users to run applications that require workarounds. Consequently, many third-party applications have been created to ease the use of those applications that do not work out of the box within Wine itself. The Wine wiki maintains a page of current and obsolete third-party applications.[42]

  • Winetricks is a script to install some basic components (typically Microsoft DLLs and fonts) and tweak settings required for some applications to run correctly under Wine.[43] It can fully automate the install of a number of applications and games, including applying any needed workarounds. Winetricks has a GUI.[44] The Wine project will accept bug reports for users of Winetricks, unlike most third-party applications. It is maintained by Wine developer Austin English.[45]
  • Q4Wine is an open GUI for advanced setup of Wine.
  • Wine-Doors is an application management tool for the GNOME desktop which adds functionality to Wine. Wine-Doors is an alternative to WineTools which aims to improve upon WineTools' features and extend on the original idea with a more modern design approach.[46]
  • IEs4Linux is a utility to install all versions of Internet Explorer, including versions 4 to 6 and version 7 (in beta).[47]
  • Wineskin is a utility to manage Wine engine versions and create wrappers for macOS.[48]
  • PlayOnLinux is an application to ease the installation of Windows applications (primarily games). There is also a corresponding Macintosh version called PlayOnMac.
  • Lutris is an open-source application to easily install Windows games on Linux.[49]
  • Bordeaux is a proprietary Wine GUI configuration manager that runs winelib applications. It also supports installation of third-party utilities, installation of applications and games, and the ability to use custom configurations. Bordeaux currently runs on Linux, FreeBSD, PC-BSD, Solaris, OpenSolaris, OpenIndiana,[50][51] and macOS computers.
  • Bottles is an open-source graphical Wine prefix and runners manager for Wine based on GTK4+Libadwaita. It provides a repository-based dependency installation system and bottle versioning to restore a previous state.[52]
  • WineGUI is a free and open-source graphical interface to manage Wine. It allows you to easily create Wine bottles and install Windows applications or games.[53]

Functionality

App compatibility progress over time, according to Wine AppDB test results.
  Software works flawlessly
  Software works flawlessly after configuration
  Minor problems with the software
  Major problems with the software
  Completely non-functional software
WineHQ application ratings over the time.

The developers of the Direct3D portions of Wine have continued to implement new features such as pixel shaders to increase game support.[54] Wine can also use native DLLs directly, thus increasing functionality, but then a license for Windows is needed unless the DLLs were distributed with the application itself.

Wine also includes its own open-source implementations of several Windows programs, such as Notepad, WordPad, Control Panel, Internet Explorer, and Windows Explorer.[55]

The Wine Application Database (AppDB) is a community-maintained on-line database about which Windows programs works with Wine and how well they work.

Backward compatibility

Wine ensures good backward compatibility with legacy Windows applications, including those written for Windows 3.1x.[56] Wine can mimic different Windows versions required for some programs, going as far back as Windows 2.0.[57] However, Windows 1.x and Windows 2.x support was removed from Wine development version 1.3.12. If DOSBox is installed on the system[citation needed] (see below on MS-DOS), Wine development version 1.3.12 and later nevertheless show the "Windows 2.0" option for the Windows version to mimic, but Wine still will not run most Windows 2.0 programs because MS-DOS and Windows functions are not currently integrated.

Backward compatibility in Wine is generally superior to that of Windows, as newer versions of Windows can force users to upgrade legacy Windows applications, and may break unsupported software forever as there is nobody adjusting the program for the changes in the operating system. In many cases, Wine can offer better legacy support than newer versions of Windows with "Compatibility Mode". Wine can run 16-bit Windows programs (Win16) on a 64-bit operating system, which uses an x86-64 (64-bit) CPU,[58] a functionality not found in 64-bit versions of Microsoft Windows.[59][60] WineVDM allows 16-bit Windows applications to run on 64-bit versions of Windows.[61]

Wine partially supports Windows console applications, and the user can choose which backend to use to manage the console (choices include raw streams, curses, and user32).[62] When using the raw streams or curses backends, Windows applications will run in a Unix terminal.

64-bit applications

Preliminary support for 64-bit Windows applications was added to Wine 1.1.10, in December 2008.[63] (As of April 2019), the support is considered stable. The two versions of Wine are built separately, and as a result only building wine64 produces an environment only capable of running x86-64 applications.[64]

(As of April 2019), Wine has stable support for a WoW64 build, which allows both 32-bit and 64-bit Windows applications to run inside the same Wine instance. To perform such a build, one must first build the 64-bit version, and then build the 32-bit version referencing the 64-bit version. Just like Microsoft's WoW64, the 32-bit build process will add parts necessary for handling 32-bit programs to the 64-bit build.[64] This functionality is seen from at least 2010.[65]

MS-DOS

Early versions of Microsoft Windows run on top of MS-DOS, and Windows programs may depend on MS-DOS programs to be usable. Wine does not have good support for MS-DOS, but starting with development version 1.3.12, Wine tries running MS-DOS programs in DOSBox if DOSBox is available on the system.[66] However, due to a bug, current versions[needs update] of Wine incorrectly identify Windows 1.x and Windows 2.x programs as MS-DOS programs, attempting to run them in DOSBox (which does not work).[67]

Winelib

Wine provides Winelib, which allows its shared-object implementations of the Windows API to be used as actual libraries for a Unix program. This allows for Windows code to be built into native Unix executables. Since October 2010, Winelib also works on the ARM platform.[68]

Non-x86 architectures

Support for Solaris SPARC was dropped in version 1.5.26.

ARM, Windows CE, and Windows RT

Wine provides some support for ARM (as well as ARM64/AArch64) processors and the Windows flavors that run on it. (As of April 2019), Wine can run ARM/Win32 applications intended for unlocked Windows RT devices (but not Windows RT programs). Windows CE support (either x86 or ARM) is missing,[69] but an unofficial, pre-alpha proof-of-concept version called WineCE allows for some support.[70]

Wine for Android

WINE Solitaire running on Android

On 3 February 2013 at the FOSDEM talk in Brussels, Alexandre Julliard demonstrated an early demo of Wine running on Google's Android operating system.[71]

Experimental builds of WINE for Android (x86 and ARM) were released in late 2017. It has been routinely updated by the official developers ever since.[4] The default builds do not implement cross-architecture emulation via QEMU, and as a result ARM versions will only run ARM applications that use the Win32 API.[72]

Microsoft applications

Wine, by default, uses specialized Windows builds of Gecko and Mono to substitute for Microsoft's Internet Explorer and .NET Framework. Wine has built-in implementations of JScript and VBScript. It is possible to download and run Microsoft's installers for those programs through winetricks or manually.

Wine is not known to have good support for most versions of Internet Explorer (IE). Of all the reasonably recent versions, Internet Explorer 8 for Windows XP is the only version that reports a usable rating on Wine's AppDB, out-of-the-box.[73] However Google Chrome gets a gold rating (as of Wine 5.5-staging),[74] and Microsoft's IE replacement web browser Edge, is known to be based on that browser (after switching from Microsoft's own rendering engine[75]). Winetricks offer auto-installation for Internet Explorer 6 through 8, so these versions can be reasonably expected to work with its built-in workarounds.

An alternative for installing Internet Explorer directly is to use the now-defunct IEs4Linux. It is not compatible with the latest versions of Wine,[76] and the development of IEs4Linux is inactive.

Other versions of Wine

The core Wine development aims at a correct implementation of the Windows API as a whole and has sometimes lagged in some areas of compatibility with certain applications. Direct3D, for example, remained unimplemented until 1998,[77] although newer releases have had an increasingly complete implementation.[78]

CrossOver

Main page: Software:CrossOver

CodeWeavers markets CrossOver specifically for running Microsoft Office and other major Windows applications, including some games. CodeWeavers employs Alexandre Julliard to work on Wine and contributes most of its code to the Wine project under the LGPL. CodeWeavers also released a new version called CrossOver Mac for Intel-based Apple Macintosh computers on 10 January 2007.[79] Unlike upstream wine, CrossOver is notably able to run on the x64-only versions of macOS,[80] using a technique known as "wine32on64".[81]

As of 2012, CrossOver includes the functionality of both the CrossOver Games and CrossOver Pro lines therefore CrossOver Games and CrossOver Pro are no longer available as single products.[82]

CrossOver Games was optimized for running Windows video games. Unlike CrossOver, it didn't focus on providing the most stable version of Wine. Instead, experimental features are provided to support newer games.[83]

Proton

Main page: Software:Proton

On 21 August 2018, Valve announced a new variation of Wine, named Proton, designed to integrate with the Linux version of the company's Steam software (including Steam installations built into their Linux-based SteamOS operating system and Steam Machine computers).[84] Valve's goal for Proton is to enable Steam users on Linux to play games which lack a native Linux port (particularly back-catalog games), and ultimately, through integration with Steam as well as improvements to game support relative to mainline Wine, to give users "the same simple plug-and-play experience" that they would get if they were playing the game natively on Linux.[84] Proton entered public beta immediately upon being announced.[84]

Valve had already been collaborating with CodeWeavers since 2016 to develop improvements to Wine's gaming performance, some of which have been merged to the upstream Wine project.[84] Some of the specific improvements incorporated into Proton include Vulkan-based Direct3D 9, 10, 11, and 12 implementations via vkd3d,[85] DXVK,[86] and D9VK[87] multi-threaded performance improvements via esync,[88] improved handling of fullscreen games, and better automatic game controller hardware support.[84]

Proton is fully open-source and available via GitHub.[89]

WINE@Etersoft

Main page: Software:WINE@Etersoft

The Russia n company Etersoft has been developing a proprietary version of Wine since 2006. WINE@Etersoft supports popular Russian applications (for example, 1C:Enterprise by 1C Company).[90]

Other projects using Wine source code

Other projects using Wine source code include:

  • OTVDM,[91] a 16-bit app compatibility layer for 64-bit Windows.
  • ReactOS, a project to write an operating system compatible with Windows NT versions 5.x and up (which includes Windows 2000 and its successors) down to the device driver level. ReactOS uses Wine source code considerably, but because of architectural differences, ReactOS code (such as DLLs written specifically for it, like ntdll, user32, kernel32, gdi32, and advapi) is not generally reused in Wine.[92] In July 2009, Aleksey Bragin, the ReactOS project lead, started[93] a new ReactOS branch called Arwinss,[94] and it was officially announced in January 2010.[95] Arwinss is an alternative implementation of the core Win32 components, and uses mostly unchanged versions of Wine's user32.dll and gdi32.dll.
  • WineBottler,[96] a wrapper around Wine in the form of a normal Mac application. It manages multiple Wine configurations for different programs in the form of "bottles."
  • Wineskin, an open source Wine GUI configuration manager for macOS. Wineskin creates a wrapper around Wine in the form of a normal Mac Application. The wrapper can also be used to make a distributable "port" of software.[97]
  • Odin, a project to run Win32 binaries on OS/2 or convert them to OS/2 native format. The project also provides the Odin32 API to compile Win32 programs for OS/2.
  • Virtualization products such as Parallels Desktop for Mac and VirtualBox use WineD3D to make use of the GPU.
  • WinOnX, a commercial package of Wine for macOS that includes a GUI for adding and managing applications and virtual machines.[98]
  • WineD3D for Windows, a compatibility wrapper which emulates old Direct3D versions and features that were removed by Microsoft in recent Windows releases, using OpenGL. This sometimes gets older games working again.[99]
  • Apple Game Porting Toolkit, a suite of software introduced at Apple's Worldwide Developer Conference in June 2023 to facilitate porting games from Windows to Mac.[100]

Discontinued

  • Cedega / WineX: TransGaming Inc. (now Findev Inc. since the sale of its software businesses) produced the proprietary Cedega software. Formerly known as WineX, Cedega represented a fork from the last MIT-licensed version of Wine in 2002. Much like CrossOver Games, TransGaming's Cedega was targeted towards running Windows video games. On 7 January 2011, TransGaming Inc. announced continued development of Cedega Technology under the GameTree Developer Program. TransGaming Inc. allowed members to keep using their Cedega ID and password until 28 February 2011.[101]
  • Cider: TransGaming also produced Cider, a library for Apple–Intel architecture Macintoshes. Instead of being an end-user product, Cider (like Winelib) is a wrapper allowing developers to adapt their games to run natively on Intel Mac without any changes in source code.
  • Darwine: a port of the Wine libraries to Darwin and Mac OS X for the PowerPC and Intel x86 (32-bit) architectures, created by the OpenDarwin team in 2004.[102][103] Its PowerPC version relied on QEMU.[104] Darwine was merged back into Wine in 2009.[105][106]
  • E/OS LX: a project attempting to allow any program designed for any operating system to be run without the need to actually install any other operating system.
  • Pipelight: a custom version of Wine (wine-compholio) that acts as a wrapper for Windows NPAPI plugins within Linux browsers.[107] This tool permits Linux users to run Microsoft Silverlight, the Microsoft equivalent of Adobe Flash, and the Unity web plugin, along with a variety of other NPAPI plugins. The project provides an extensive set of patches against the upstream Wine project,[108] some of which were approved and added to upstream Wine. Pipelight is largely obsolete, as modern browsers no longer support NPAPI plugins and Silverlight has been deprecated by Microsoft.[109]

Reception

The Wine project has received a number of technical and philosophical complaints and concerns over the years.

Security

Because of Wine's ability to run Windows binary code, concerns have been raised over native Windows viruses and malware affecting Unix-like operating systems[110] as Wine can run limited malware made for Windows. A 2018 security analysis found that 5 out of 30 malware samples were able to successfully run through Wine, a relatively low rate that nevertheless posed a security risk.[111] For this reason the developers of Wine recommend never running it as the superuser.[112] Malware research software such as ZeroWine[113] runs Wine on Linux in a virtual machine, to keep the malware completely isolated from the host system. An alternative to improve the security without the performance cost of using a virtual machine, is to run Wine in an LXC container, as Anbox software is doing by default with Android.

Another security concern is when the implemented specifications are ill-designed and allow for security compromise. Because Wine implements these specifications, it will likely also implement any security vulnerabilities they contain. One instance of this problem was the 2006 Windows Metafile vulnerability, which saw Wine implementing the vulnerable SETABORTPROC escape.[114][115]

Wine vs. native Unix applications

A common concern about Wine is that its existence means that vendors are less likely to write native Linux, macOS, and BSD applications. As an example of this, it is worth considering IBM's 1994 operating system, OS/2 Warp.[original research?] An article describes the weaknesses of OS/2 which killed it, the first one being:

OS/2 offered excellent compatibility with DOS and Windows 3.1 applications. No, this is not an error. Many application vendors argued that by developing a DOS or Windows app, they would reach the OS/2 market in addition to DOS/Windows markets and they didn't develop native OS/2 applications.[116]

However, OS/2 had many problems with end user acceptance. Perhaps the most serious was that most computers sold already came with DOS and Windows, and many people didn't bother to evaluate OS/2 on its merits due to already having an operating system. "Bundling" of DOS and Windows and the chilling effect this had on the operating system market frequently came up in United States v. Microsoft Corporation.

The Wine project itself responds to the specific complaint of "encouraging" the continued development for the Windows API on one of its wiki pages:

For most people there remain a handful of programs locking them in to Windows. It's obvious there will never be a Microsoft Office ported to Linux, however older versions of programs like TurboTax won't be ported either. Similarly, there are tens of thousands of games and internal corporate applications which will never be ported. If you want to use Linux and rely on any legacy Windows application, something like Wine is essential... Wine makes Linux more useful and allows for millions of users to switch who couldn't otherwise. This greatly raises Linux marketshare, drawing more commercial and community developers to Linux.[117]

Also, the Wine Wiki page claims that Wine can help break the chicken-and-egg problem for Linux on the desktop:[118]

This brings us to the chicken and egg issue of Linux on the desktop. Until Linux can provide equivalents for the above applications, its market share on the desktop will stagnate. But until the market share of Linux on the desktop rises, no vendor will develop applications for Linux. How does one break this vicious circle?

Again, Wine can provide an answer. By letting users reuse the Windows applications they have invested time and money in, Wine dramatically lowers the barrier that prevents users from switching to Linux. This then makes it possible for Linux to take off on the desktop, which increases its market share in that segment. In turn, this makes it viable for companies to produce Linux versions of their applications, and for new products to come out just for the Linux market. This reasoning could be dismissed easily if Wine was only capable of running Solitaire. However, now it can run Microsoft Office, multimedia applications such as QuickTime and Windows Media Player, and even games such as Max Payne or Unreal Tournament 3. Almost any other complex application can be made to run well given a bit of time. And each time that work is done to add one application to this list, many other applications benefit from this work and become usable too.

Have a look at our Application Database to get an idea on what can be run under Wine.

The use of Wine for gaming has proved specifically controversial in the Linux community, as some feel it is preventing, or at least hindering, the further growth of native Linux gaming on the platform.[119][120] One quirk however is that Wine is now able to run 16-bit and even certain 32-bit applications and games that do not launch on current 64-bit Windows versions.[121] This use-case has led to running Wine on Windows itself via Windows Subsystem for Linux or third-party virtual machines,[citation needed] as well as encapsulated by means such as BoxedWine[122] and Otvdm.[123]

Microsoft

Until 2020, Microsoft had not made any public statements about Wine. However, the Windows Update online service will block updates to Microsoft applications running in Wine. On 16 February 2005, Ivan Leo Puoti discovered that Microsoft had started checking the Windows Registry for the Wine configuration key and would block the Windows Update for any component.[124] As Puoti noted: "It's also the first time Microsoft acknowledges the existence of Wine."

In January 2020, Microsoft cited Wine as a positive consequence of being able to reimplement APIs, in its amicus curiae brief for Google LLC v. Oracle America, Inc.[125]

See also

Notes

  1. Formerly a recursive backronym for "Wine Is Not an Emulator"[7]

References

  1. "Wine source: wine-6.4: Authors". https://source.winehq.org/source/AUTHORS. 
  2. "Wine 7.0 Released". 18 January 2022. https://www.winehq.org/news/2022011801. 
  3. 3.0 3.1 3.2 "Download - WineHQ Wiki". https://wiki.winehq.org/Download. 
  4. 4.0 4.1 "Index of /Wine-builds/Android". https://dl.winehq.org/wine-builds/android/. 
  5. "Licensing - WineHQ Wiki". https://wiki.winehq.org/Licensing. 
  6. "License". https://source.winehq.org/git/wine.git/blob_plain/HEAD:/LICENSE. 
  7. "WineHQ - About Wine" (in en). WineHQ. https://www.winehq.org/about. 
  8. "2007 Desktop Linux Market survey". 21 August 2007. http://www.desktoplinux.com/cgi-bin/survey/survey.cgi?view=archive&id=0813200712407. 
  9. Vaughan-Nichols, Steven J. (22 August 2007). "Running Windows applications on Linux". 2007 Desktop Linux Survey results. DesktopLinux. http://www.desktoplinux.com/news/NS8454912761.html. 
  10. Amstadt, Bob (29 September 1993). "Wine project status". Newsgroupcomp.windows.x.i386unix. Archived from the original on 5 January 2011. Retrieved 13 July 2008.
  11. "Sun Uses ECMA as Path to ISO Java Standardization". Computergram International. 7 May 1999. http://findarticles.com/p/articles/mi_m0CGN/is_1999_May_7/ai_54580586. 
  12. Byron A Jeff (25 August 1993). "WABI available on Linux or not". Newsgroupcomp.os.linux.misc. Archived from the original on 9 June 2013. Retrieved 21 September 2007.
  13. Loli-Queru, Eugenia (29 October 2001). "Interview with WINE's Alexandre Julliard". OSnews (Interview). Archived from the original on 24 September 2008. Retrieved 30 June 2008. Usually we start from whatever documentation is available, implement a first version of the function, and then as we find problems with applications that call this function we fix the behavior until it is what the application expects, which is usually quite far from what the documentation states.
  14. White, Jeremy (6 February 2002). "Wine license change". https://winehq.org/pipermail/wine-devel/2002-February/003912.html. 
  15. Alexandre Julliard (18 February 2002). "License change vote results". https://winehq.org/pipermail/wine-devel/2002-February/004487.html. 
  16. "Beta!". 25 October 2005. https://winehq.org/news/2005102502. 
  17. "Announcement of version 1.0". Wine HQ. 17 June 2008. https://winehq.org/announce/1.0. 
  18. Julliard, Alexandre (16 July 2010). "Release News". https://winehq.org/news/2010071601. 
  19. "Wine Announcement". https://winehq.org/announce/1.4. 
  20. "Wine 1.6 Released". WineHQ. 18 July 2013. https://www.winehq.org/news/2013071801. 
  21. "Wine 1.8 Released". WineHQ. 19 December 2015. https://www.winehq.org/news/2015121901. 
  22. "Wine 9.0". WineHQ. 16 January 2024. https://gitlab.winehq.org/wine/wine/-/releases/wine-9.0. 
  23. "Wine-Staging". https://wiki.winehq.org/Wine-Staging. 
  24. White, Jeremy (27 January 2011). "Announcing CrossOver 10.0 and CrossOver Games 10.0, The Impersonator". CodeWeavers. https://codeweavers.com/support/forums/announce/?t=24;mhl=100155;msg=100155#msg100155. 
  25. Vaughan-Nichols, Steven J. (25 February 2002). "That's All Folks: Corel Leaves Open Source Behind". Linux.com. https://www.linux.com/news/thats-all-folks-corel-leaves-open-source-behind/. 
  26. "older-mirrored-patches/Wine.md at master - google/older-mirrored-patches". https://github.com/google/older-mirrored-patches/blob/master/Wine.md. 
  27. Kegel, Dan (14 February 2008). "Google's support for Wine in 2007". wine-devel (Mailing list). Archived from the original on 6 January 2009. Retrieved 3 January 2009.
  28. 28.0 28.1 28.2 "Wine Developer's Guide/Architecture Overview". https://wiki.winehq.org/Wine_Developer%27s_Guide/Architecture_Overview#Wine_Overview. 
  29. See the "Windows service" article
  30. "Wine Status". https://wiki.winehq.org/Wine_Status. 
  31. 31.0 31.1 31.2 31.3 31.4 31.5 "Wine 4.0" (in en). https://www.winehq.org/announce/4.0. 
  32. "FAudio Lands in Wine For New XAudio2 Re-Implementation". Phoronix. 25 February 2019. https://www.phoronix.com/scan.php?page=news_item&px=Wine-Lands-FAudio-XAudio2. 
  33. "WineHQ - Wine Announcement - The Wine development release 4.3 is now available.". https://www.winehq.org//announce/4.3. 
  34. "With Wine Git, You Can Run The D3D11 Blizzard Overwatch Game on Linux". Phoronix. 12 December 2016. http://www.phoronix.com/scan.php?page=news_item&px=Wine-Patches-Overwatch-Working. 
  35. Dossena, Federico. "WineD3D For Windows". https://fdossena.com/?p=wined3d%2Findex.frag. 
  36. "Wine 4.6" (in en). https://www.winehq.org//announce/4.6. 
  37. Rebohle, Philip (4 May 2021), doitsujin/dxvk, https://github.com/doitsujin/dxvk, retrieved 4 May 2021 
  38. Christoph Bumiller (16 July 2013). "Direct3D 9 Gallium3D State Tracker". https://lists.freedesktop.org/archives/mesa-dev/2013-July/041900.html. "there are a couple of differences to d3d1x: [...] it's written in C instead of C++ and not relying on horrific multiple inheritance with [...] So far I've tried Skyrim, Civilization 5, Anno 1404 and StarCraft 2 on the nvc0 and r600g drivers, which work pretty well, at up to x2 the fps I get with wined3d (Note: no thorough benchmarking done yet)." 
  39. "Gallium Nine Standalone" (in en). https://github.com/iXit/wine-nine-standalone. 
  40. "Wine". https://www.winehq.org/docs/wine. 
  41. Nick Congleton (26 October 2016). "Configuring WINE with Winecfg". Linux Tutorials - Learn Linux Configuration. https://linuxconfig.org/configuring-wine-with-winecfg. 
  42. "Third Party Applications". Official Wine Wiki. https://wiki.winehq.org/ThirdPartyApplications. 
  43. "Gaming on Linux: A guide for sane people with limited patience". PCWorld. http://www.pcworld.com/article/2025909/gaming-on-linux-a-guide-for-sane-people-with-limited-patience.html. Retrieved 11 January 2015. 
  44. VitalyLipatov (30 March 2011). "winetricks - The Official Wine Wiki". http://wiki.winehq.org/winetricks. 
  45. "winetricks". Official Wine Wiki. https://wiki.winehq.org/winetricks. 
  46. "Wine doors". Wine doors. http://winedoors.sourceforge.net/. 
  47. "IEs4Linux". Tatanka.com.br. http://www.tatanka.com.br/. 
  48. "Wineskin". http://wineskin.urgesoftware.com/. 
  49. "Lutris". https://lutris.net/. 
  50. "OpenIndiana Bordeaux announcement". OpenIndiana-announce mailing list. http://openindiana.org/pipermail/openindiana-discuss/2010-October/thread.html#544. 
  51. "Bordeaux group press release". Bordeaux group site. http://www.bordeauxgroup.com/press-release/bordeaux-openindiana. 
  52. on GitHub
  53. "WineGUI". WineGUI. https://winegui.melroy.org/. 
  54. "DirectX-Shaders". Official Wine Wiki. https://wiki.winehq.org/DirectX-Shaders. 
  55. "List of Commands". 12 April 2016. https://wiki.winehq.org/List_of_Commands. 
  56. "Windows Legacy Application Support Under Wine". http://media.codeweavers.com/pub/crossover/case_studies/WinLegacySupport.pdf. 
  57. Strohmeyer, Robert (6 April 2007). "Still need to run Windows apps? Have a glass of wine". Pcgamer. http://www.maximumpc.com/article/still_need_to_run_windows_apps_have_a_glass_of_wine. 
  58. Andre Da Costa (20 April 2016). "How to Enable 16-bit Application Support in Windows 10" (in en-US). https://www.groovypost.com/howto/enable-16-bit-application-support-windows-10/. 
  59. "64-bit versions of Windows do not support 16-bit components, 16-bit processes, or 16-bit applications". https://support.microsoft.com/en-us/kb/896458. 
  60. Savill, John (11 February 2002). "Why can't I install 16-bit programs on a computer running the 64-bit version of Windows XP?". http://windowsitpro.com/systems-management/why-cant-i-install-16-bit-programs-computer-running-64-bit-version-windows-xp. 
  61. "16-bit Windows (Windows 1.x, 2.x, 3.0, 3.1, etc.) on 64-bit Windows.". 27 October 2021. https://github.com/otya128/winevdm.  On GitHub.
  62. "Text mode programs (CUI: Console User Interface)". Wine User's Guide. https://wiki.winehq.org/Wine_User%27s_Guide#Text_mode_programs_.28CUI:_Console_User_Interface.29. 
  63. Lankhorst, Maarten (5 December 2008). "Wine64 hello world app runs!". wine-devel (Mailing list). Archived from the original on 21 March 2022. Retrieved 15 December 2008.
  64. 64.0 64.1 "Building Wine". https://wiki.winehq.org/Building_Wine. 
  65. "Wine64 for packagers". Official Wine Wiki. https://wiki.winehq.org/Wine64ForPackagers. 
  66. "[Wine] Re: Wine sometime really surprise me". 11 March 2011. https://winehq.org/pipermail/wine-users/2011-March/087629.html. 
  67. "WineHQ Bugzilla – Bug 26715 – Win1.0 executable triggers Dosbox". https://bugs.winehq.org/show_bug.cgi?id=26715. 
  68. "The Wine development release 1.3.4 announcement". Winehq.org. https://winehq.org/announce/1.3.4. 
  69. "ARM support". The Official Wine Wiki. https://wiki.winehq.org/ARM. 
  70. "Wine wrappers and more". http://dawncrow.de/wine/winece.html. 
  71. "Wine on Android Is Coming For Running Windows Apps". 3 February 2013. http://phoronix.com/scan.php?page=news_item&px=MTI5MjA. 
  72. "Android". https://wiki.winehq.org/Android. 
  73. "Internet Explorer". https://appdb.winehq.org/objectManager.php?sClass=application&iId=25. 
  74. "Google Chrome". https://appdb.winehq.org/objectManager.php?sClass=application&iId=8177. 
  75. "Chromium browsers are black - WineHQ Forums". https://forum.winehq.org/viewtopic.php?t=33455&p=126413. 
  76. "So far, I do not manage to install IES4Linux". 22 June 2012. https://lists.ubuntu.com/archives/ubuntu-users/2012-June/261480.html. 
  77. Vincent, Brian (3 February 2004). "WineConf 2004 Summary". Wine Weekly News (WineHQ.org) (208). https://winehq.com/?issue=208. 
  78. "Wine Status – DirectX DLLs". WineHQ.org. https://winehq.org/status/directx. 
  79. "CodeWeavers Releases CrossOver 6 for Mac and Linux". Slashdot. 10 January 2007. http://tech.slashdot.org/story/07/01/10/1924235/codeweavers-releases-crossover-6-for-mac-and-linux. 
  80. Schmid, Jana. "So We Don't Have a Solution for Catalina...Yet" (in en). https://www.codeweavers.com/blog/jschmid/2019/9/10/so-we-dont-have-a-solution-for-catalinayet. 
  81. Thomases, Ken (11 December 2019). "win32 on macOS". https://www.winehq.org/pipermail/wine-devel/2019-December/156602.html. 
  82. "CrossOver – Change Log – CodeWeavers". https://codeweavers.com/products/faq/change_log/. 
  83. "CrossOver Games site". CodeWeavers. 6 January 1990. https://codeweavers.com/products/cxgames/. 
  84. 84.0 84.1 84.2 84.3 84.4 "Steam for Linux :: Introducing a new version of Steam Play". Valve. 21 August 2018. https://steamcommunity.com/games/221410/announcements/detail/1696055855739350561. 
  85. "vkd3d.git project summary". WineHQ Git. https://source.winehq.org/git/vkd3d.git/. 
  86. "DXVK GitHub repository". GitHub. https://github.com/doitsujin/dxvk. 
  87. "D9VK GitHub repository". GitHub. https://github.com/Joshua-Ashton/d9vk. 
  88. "GitHub: README for esync". GitHub. https://github.com/zfigura/wine/blob/esync/README.esync. 
  89. "Proton GitHub repository". GitHub. https://github.com/ValveSoftware/Proton/. 
  90. "WINE@Etersoft – Russian proprietary fork of Wine" (in ru). Pcweek.ru. 21 April 2010. http://www.pcweek.ru/infrastructure/article/detail.php?ID=72021. 
  91. "Winevdm on 64-bit Windows". 27 October 2021. https://github.com/otya128/winevdm. 
  92. "Developer FAQ". ReactOS. http://www.reactos.org/en/dev_faq.html. 
  93. "Creation of Arwinss branch". Mail-archive.com. 17 July 2009. http://www.mail-archive.com/ros-diffs@reactos.org/msg01658.html. 
  94. "Arwinss at ReactOS wiki". Reactos.org. 20 February 2010. https://reactos.org/wiki/Arwinss. 
  95. "Arwinss presentation". Reactos.org. https://reactos.org/archives/public/ros-dev/2010-January/012709.html. 
  96. "WineBottler | Run Windows-based Programs on a Mac". https://winebottler.kronenberg.org/. 
  97. "Wineskin FAQ". doh123. http://wineskin.urgesoftware.com/tiki-index.php?page=FAQ. 
  98. "WinOnX - Windows On Mac OSX". https://www.winonx.com/. 
  99. Dossena, Federico. "WineD3D For Windows". https://fdossena.com/?p=wined3d%2Findex.frag. 
  100. apple/homebrew-apple, Apple, 2023-06-06, https://github.com/apple/homebrew-apple/blob/033b5e49598c5ac52858470c4f4bbdea862de99a/Formula/game-porting-toolkit-compiler.rb, retrieved 2023-06-06 
  101. "GameTree Developer Program". gametreelinux.com. https://gametreelinux.com. 
  102. "Darwine seeks to port WINE to Darwin, OS X" (in en). https://www.macworld.com/article/169622/darwine.html. 
  103. Yager, Tom (16 February 2006). "Darwine baby steps toward Windows app execution on OS X" (in en). https://www.infoworld.com/article/2643756/darwine-baby-steps-toward-windows-app-execution-on-os-x.html. 
  104. Todd Ogasawara (20 July 2006). Windows for Intel Macs. O'Reilly Media, Inc.. pp. 5. ISBN 978-0-596-52840-9. https://books.google.com/books?id=tLbrw9naN4AC&pg=PA5. Retrieved 5 February 2023. 
  105. "WINE for Intel-based Macs appears: Allows running of Windows programs" (in en). 2 September 2009. https://www.cnet.com/tech/computing/wine-for-intel-based-macs-appears-allows-running-of-windows-programs/. 
  106. "macOS FAQ - WineHQ Wiki". https://wiki.winehq.org/MacOS_FAQ. 
  107. "Pipelight: using Silverlight in Linux browsers". FDS-Team. http://fds-team.de/cms/articles/2013-08/pipelight-using-silverlight-in-linux-browsers.html. 
  108. "wine-compholio-daily README". github. https://github.com/compholio/wine-compholio-daily. 
  109. Smith, Jerry (2 July 2015). "Moving to HTML5 Premium Media". https://blogs.windows.com/msedgedev/2015/07/02/moving-to-html5-premium-media/. 
  110. Matt Moen (26 January 2005). "Running Windows viruses with Wine". Archived from the original on 7 January 2013. Retrieved 23 October 2009.
  111. Duncan, Rory; Schreuders, Z. Cliffe (1 March 2019). "Security implications of running windows software on a Linux system using Wine: a malware analysis study" (in en). Journal of Computer Virology and Hacking Techniques 15 (1): 39–60. doi:10.1007/s11416-018-0319-9. ISSN 2263-8733. 
  112. "Should I run Wine as root?". Wine Wiki FAQ. Official Wine Wiki. 7 August 2009. https://wiki.winehq.org/FAQ?action=recall&rev=312#head-96bebfa287b4288974de0df23351f278b0d41014. 
  113. "ZeroWine project home page". http://zerowine.sourceforge.net/. 
  114. "Linux/BSD still exposed to WMF exploit through WINE!". 5 January 2006. http://www.zdnet.com/blog/ou/linuxbsd-still-exposed-to-wmf-exploit-through-wine/146. 
  115. "CVE-2006-0106 - gdi/driver.c and gdi/printdrv.c in Wine 20050930, and other versions, implement the SETABORTPROC GDI - CVE-Search". http://cve.circl.lu/cve/CVE-2006-0106. 
  116. Michal Necasek. "OS/2 Warp history". http://pages.prodigy.net/michaln/history/os2warp/index.html. 
  117. Bernhard Rosenkraenzer. "Debunking Wine Myths". https://wiki.winehq.org/Debunking_Wine_Myths#head-9af2c83644754ac9805dc929403ca0440c96c383. 
  118. "Why Wine is so important". https://wiki.winehq.org/ImportanceOfWine. 
  119. Hills, James. "Ports vs. Wine". http://www.gamespy.com/articles/may01/wine/. 
  120. Larabel, Michael (3 July 2009). "An Interview With A Linux Game Porter". https://www.phoronix.com/scan.php?page=article&item=linux_gaming_frank&num=3. 
  121. Warrington, Don (11 May 2020). "Is the Best Place to Run Old Windows Software... on Linux or a Mac?". https://vulcanhammer.info/2020/05/11/is-the-best-place-to-run-old-windows-software-on-linux-or-a-mac/. 
  122. Davenport, Corbin (3 October 2021). "Boxedwine can emulate Windows applications in web browsers". https://www.xda-developers.com/boxedwine-emulate-windows-applications-web-browsers/. 
  123. Mendelson, Edward (12 January 2023). "Otvdm/winevdm: run old Windows software in 64-bit Windows". http://www.columbia.edu/~em36/otvdm.html. 
  124. Puoti, Ivan Leo (18 February 2005). "Microsoft genuine downloads looking for Wine". wine-devel (Mailing list). Archived from the original on 7 April 2009. Retrieved 23 January 2006.
  125. Tung, Liam. "Wine for running Windows 10 apps on Linux gets big upgrade" (in en). https://www.zdnet.com/article/wine-for-running-windows-10-apps-on-linux-gets-big-upgrade/. 

Further reading

External links