Introduction
Exciting news for Linux enthusiasts: Microsoft has officially opened the Windows Subsystem for Linux (WSL) to the community. Announced at the Build 2025 Conference, this shift toward open-source is a significant milestone for both WSL and the broader Linux ecosystem. In this guide, we’ll dive into what this means for users, the components that remain closed-source, and how you can contribute to the future of WSL.
Windows Subsystem for Linux (WSL) is Now Open Source
On May 19, 2025, Microsoft declared WSL as an open-source component of Windows. The source code for WSL has been officially released, paving the way for community contributions and collaborative development. However, three critical components remain closed-source:
- Lxcore.sys: A kernel-side driver for WSL1 that facilitates the translation of Linux commands within Windows.
- P9rdr.sys and p9n9.dll: These components manage filesystem redirection from Windows to Linux.
These components are deeply integrated with Windows core processes, necessitating their closed-source status.
Road to Open Source WSL
Microsoft’s journey toward an open-source WSL began in 2019 with the introduction of a Linux Kernel tailored for WSL. This progressive path has allowed the WSL community to flourish. Key milestones include:
- Release of the WSLg component for GUI application support in 2021.
- Separation of the Windows and WSL codebases in 2021.
- MS Store availability for both Windows 11 and Windows 10 users.
As of now, the latest WSL version is 2.5.7.0, continuing to evolve with active community engagement.
How Can I Contribute to Open-Source WSL?
Microsoft encourages contributions via the WSL GitHub repository. You can:
- Report bugs or issues.
- Develop new features based on your skills and interests.
Engaging with the community by assisting other users in the repository is also highly encouraged.
Basic Understanding of the WSL Architecture
The architecture of WSL is a fascinating interplay between Windows and Linux. Here’s a brief overview:
- Windows Host: Interacts with WSL through components like
wsl.exe
(the command-line utility),wslconfig.exe
(for configuring WSL1), andwslg.exe
(to manage GUI apps). - WSL VM Service: Operates within the WSL VM, initializing processes and managing networking and file sharing.
Bonus: Keep Your WSL Updated
Keeping your WSL installation updated is crucial. Sometimes, the version fetched during installation may be outdated. To ensure you’re running the latest version, execute the following commands:
wsl --update
before updating to check your current version.- Verify that both your Linux kernel and WSL components are updated to the most recent versions.
Conclusion
Microsoft’s announcement of WSL as an open-source project marks a significant development in the landscape of Linux on Windows. While not entirely open-source, it’s a notable step forward. We’ve explored Microsoft’s path toward open-source WSL development and what it means for the Linux community.
FAQs
Q1: Is WSL completely open-source now?
A1: Yes, except for three components: “Lxcore.sys”, “P9rdr.sys”, and “p9n9.dll”.
Q2: How can I contribute to WSL?
A2: Contributions can be made via the WSL GitHub repository for reporting issues or coding new features.
Q3: Is WSL a replacement for Linux?
A3: No, WSL is not a full replacement for Linux but a subsystem within Windows.
Q4: Can WSL open a GUI?
A4: Yes, WSL can run Linux GUI applications through WSLg, introduced for Windows 11 in 2021 and for Windows 10 in 2022.