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, SUSE or Fedora. 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.).
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.
This subsystem cannot run all Linux software, such as those in need of unimplemented Linux kernel services. 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.
Windows Subsystem for Linux is only available on 64-bit editions of Windows 10 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. It was first made available in Windows 10 Insider Preview build 14316.
Microsoft envisages WSL as "primarily a tool for developers - especially web developers and those who work on or with open source projects". 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.
Video Windows Subsystem for Linux
See also
Maps Windows Subsystem for Linux
References
External links
- Official website
- BashOnWindows on GitHub
- Windows Command Line Tools For Developers blog
- Fun with the Windows Subsystem for Linux blog post
Source of article : Wikipedia