Microsoft plans to integrate the Windows Subsystem for Linux 2 in the first major Windows 10 feature update after Windows 10 1903, the Windows 10 20H1 update.
The company released a new build to the Fast Ring Windows Insider channel that includes the new version of the Windows Subsystem for Linux. With the change come important improvements and changes that users and administrators need to be aware of.
First, the basics: The Windows Subsystem for Linux 2 is included in the Windows 10 Insider Preview Build 18917 released on June 12, 2019. It will also be included in future Insider Builds provided that Microsoft does not find critical bugs that need addressing.
WSL 2 needs to be installed before it becomes available:
The new subsystem provides the same user experience as the current version in release versions of Windows 10.
Microsoft notes that the Windows Subsystem for Linux 2 comes with a "real Linux kernel" and that it changes how Linux binaries "interact with Windows" and the computer hardware.
One of the core difference between version 1 and 2 of the Windows Subsystem for Linux is that users are now encouraged to place files inside the Linux root file system. Doing so improves performance significantly according to Microsoft as they benefit from faster file system access of WSL 2.
Windows Apps may also access the Linux root file system with the release of this version. While WSL 1 still requires that users place files on the c: drive of the Windows installation, WSL 2 does away with that limitation.
WSL 2 runs in a virtual machine and that requires that the virtual machine's IP address is required for certain tasks. To access Windows network applications from Linux, one would need to know the Windows host IP and vice versa.
Other user experience changes between WSL 1 and 2 are listed on Microsoft's Docs website.
Windows Subsystem for Linux 2 comes with a range of new commands such as switching between version 1 and 2 of the subssystem or shutting down all running distributions at once. You find a list of commands on the Microsoft Dev Blog.
Now You: Do you use the Windows Subsystem for Linux?Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.