Windows Subsystem for Linux

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Lonaowna (talk | contribs) at 13:44, 26 November 2017 (update tense). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Template:Infobox OS component

Windows Subsystem for Linux (WSL) is a compatibility layer for running Linux binary executables (in ELF format) natively on Windows 10. WSL provides a Linux-compatible kernel interface developed by Microsoft (containing no Linux kernel code), which can then run a Linux userland on top of it, such as that of Ubuntu,[1][2][3][4] SUSE or Fedora.[5][6] Such a userland might contain a Bash shell and command language, with native Linux command-line tools (sed, awk, etc.) and programming language interpreters (Ruby, Python, etc.).[7]

When introduced with the Anniversary Update, only an Ubuntu image was available. The Fall Creators Update moved the installation process for Linux distributions to the Windows Store, and introduced Fedora and Suse images.[6]

This subsystem cannot run all Linux software, such as those in need of unimplemented Linux kernel services.[8] It is possible to run some graphical applications by installing an X11 server within the Windows environment, although it was found to be an unstable method.[9]

Windows Subsystem for Linux is only available on 64-bit editions of Windows 10[7] and can be activated on Windows 10 Anniversary Update and later. The subsystem originated in the unreleased Project Astoria, which enabled some Android applications to run on Windows 10 Mobile.[8] It was first made available in Windows 10 Insider Preview build 14316.[10]

Microsoft envisages WSL as "primarily a tool for developers – especially web developers and those who work on or with open source projects".[7] WSL uses fewer resources than a fully virtualized machine, the most direct way to run Linux software in a Windows environment, while also allowing users to use Windows apps and Linux tools on the same set of files.[7]

See also

References

  1. ^ Harsh, Mike (30 March 2016). "Run Bash on Ubuntu on Windows". Building Apps for Windows. Microsoft.
  2. ^ Finley, Klint (30 March 2016). "Why Microsoft Making Linux Apps Run on Windows Isn't Crazy". Wired. Condé Nast.
  3. ^ Kirkland, Dustin (30 March 2016). "Ubuntu on Windows – The Ubuntu Userspace for Windows Developers". Ubuntu Insights. Canonical.
  4. ^ Hammons, Jack (9 April 2016). "Bash on Ubuntu on Windows". MSDN. Microsoft.
  5. ^ Yegulalp, Serdar. "Windows Subsystem for Linux welcomes Suse and Fedora options". InfoWorlddate=2017-05-12. Retrieved 16 September 2017.
  6. ^ a b "Ubuntu now available from the Windows Store!". Windows Command Line Tools For Developers Blog. 10 July 2017. Retrieved 11 August 2017.
  7. ^ a b c d "Frequently Asked Questions for WSL". Microsoft. Retrieved 13 November 2016.
  8. ^ a b Bright, Peter (6 April 2016). "Why Microsoft needed to make Windows run Linux software". Ars Technica. Condé Nast.
  9. ^ "Windows 10's Bash shell can run graphical Linux applications with this trick". PC World. Retrieved 28 May 2017.
  10. ^ Aul, Gabe (6 April 2016). "Announcing Windows 10 Insider Preview Build 14316". Windows Experience Blog. Microsoft.

External links