Windows Subsystem

Winsage
May 21, 2025
Microsoft has open-sourced its Windows Subsystem for Linux (WSL) code, announced during the Build 2025 developer conference. WSL allows users to run Linux distributions natively on Windows, facilitating integration between Linux tools and the Windows environment. Since its introduction in 2016, WSL has become essential for developers needing Linux utilities without leaving Windows. As of the 2024 StackOverflow developer survey, 16.8% of programmers use WSL, surpassing traditional Linux distributions. The initial version, WSL 1, had performance limitations, but WSL 2 introduced a full Linux kernel in a lightweight virtual machine, improving compatibility and performance. The majority of WSL's codebase is now available on GitHub under the MIT License, including key command-line tools and Linux-side daemons. Some components remain closed source, but the move reflects a significant shift in Microsoft's open-source collaboration approach. Users can access various Linux distributions on WSL, including Fedora, Debian, openSUSE, and Ubuntu.
Winsage
May 20, 2025
Microsoft has announced that the Windows Subsystem for Linux (WSL) is now open source, marking a significant milestone in its development. The company has closed issue #1 on its GitHub issue tracker, which asked if WSL would be open source since April 6, 2016. WSL allows Windows users to run Linux distributions alongside their operating system and has evolved from WSL 1, which used a pico process provider, to WSL 2, which introduced a dedicated Linux kernel and various enhancements such as GPU support, graphical applications, and systemd support. In 2021, WSL was decoupled from the Windows codebase and made available via the Microsoft Store for Windows 11 users. Future updates will further refine the installation process for Linux distributions.
Winsage
May 20, 2025
Microsoft has announced the open-sourcing of the Windows Subsystem for Linux (WSL), which has evolved since its introduction in 2016. WSL was initially designed to enable Windows to run ELF executables natively through a compatibility layer. Compatibility challenges led to the development of WSL2, introduced to testers in 2019. By 2021, Microsoft decided to remove WSL code from the Windows ecosystem to align with the rapid updates of the Linux community. As of 2024, Microsoft has transitioned to a new WSL package, moving away from the original WSL component bundled with Windows. Nearly all previously closed code for WSL is now available on GitHub at Microsoft/WSL, allowing developers to contribute to its evolution. However, the kernel-side driver lxcore.sys and other related components remain part of Windows and are not open-sourced. Microsoft has acknowledged the community's role in shaping WSL but has not clarified the project's future management or the establishment of a steering committee.
Winsage
May 20, 2025
Microsoft announced several open-source initiatives at its Build 2025 developer conference, including the introduction of Edit, a new command-line text editor for Windows, which is open-sourced on GitHub, crafted in Rust, and licensed under MIT. Edit is designed to enhance the user experience in Windows Terminal and is currently in early development, with plans to be included in future Windows releases. Additionally, Microsoft open-sourced GitHub Copilot within Visual Studio Code to improve collaborative coding, and the Windows Subsystem for Linux (WSL) is transitioning to an open-source model, with its source code now available on GitHub.
Winsage
May 19, 2025
Microsoft's Windows Subsystem for Linux (WSL) was introduced in the Windows 10 Anniversary Update of 2016, allowing users to run Linux applications within Windows. The company has improved WSL over the years, adding features like GPU and audio support. At the recent Build developer conference, Microsoft announced that nearly all of WSL will transition to open source, marking the resolution of the first issue raised on GitHub in 2016. Senior Software Engineer Pierre Boulay highlighted the importance of community contributions to WSL's development. However, two components will remain closed-source: the lxcore.sys kernel driver and the p9rdr.sys and p9np.dll files, with no timeline provided for their potential open-sourcing.
Winsage
May 14, 2025
Microsoft introduced the Windows Subsystem for Linux (WSL) in the Windows 10 Anniversary Update in August 2016, initially as a tool for developers. WSL debuted as a beta version with a native-kernel translation layer, allowing Windows to run unmodified Linux ELF binaries. Its early performance was limited, leading users to prefer Linux virtual machines for full compatibility. The launch of WSL2 in May 2020 replaced the translation layer with a lightweight, real Linux kernel running in a Hyper-V utility VM, providing near-native performance and comprehensive syscall coverage. WSL2 has since seen continuous improvements, including GPU-compute and CUDA support in 2021, full GUI support for X11 and Wayland applications in 2022, and systemd support in September 2022. WSL2 approaches the performance of bare-metal Linux while integrating seamlessly with Windows, allowing users to launch a Linux shell easily. It enables developers to access the C drive and interact between Windows and Linux environments without dual-booting. WSL2 enhances productivity for data science workflows, allowing the use of tools like PyTorch with CUDA. It also offers features for non-developers, such as creating aliases for launching Windows applications and running Linux GUI applications. WSL's integration into Windows represents a significant shift, providing opportunities for users across various domains to explore Linux functionalities.
Winsage
May 10, 2025
The author has been using Linux, specifically Ubuntu Server, for over a decade for cloud deployments, game server management, and media streaming. They primarily use a MacBook for daily tasks but also require Windows for gaming on a main PC, utilizing Windows Subsystem for Linux (WSL). The author has configured Windows Terminal to manage multiple command-line shells, including Windows PowerShell, Command Prompt, and WSL, all within a single application. Windows Terminal is pre-installed on Windows 11 version 22H2 or later and can be downloaded from the Microsoft Store for earlier versions. The author's Windows Terminal setup opens a WSL environment by default and includes options for Command Prompt, PowerShell, and Developer Command Prompts. They have customized their experience by removing trailing whitespace when pasting, organizing tab order, hiding the title bar, and using a Dark theme with the Monokai Remastered color scheme and JetBrains Mono font. The WSL configuration is set to access an Ubuntu terminal directly. Windows Terminal allows the author to connect to Proxmox hosts or virtual machines via SSH and supports multiple tabs for managing different systems. It features a "Quake" mode for quick command execution and the ability to create automated tools with keyboard shortcuts. The author plans to explore adding SSH profiles for easier server connections.
Winsage
May 7, 2025
Fedora Linux has officially joined the Windows Subsystem for Linux (WSL), allowing users to run Fedora 42 within a Windows environment. Installation is straightforward with the command wsl --install FedoraLinux-42, and launching it requires wsl -d FedoraLinux-42, with no password needed by default. Users are automatically added to the wheel group for sudo access. Fedora 42 is streamlined, excluding unnecessary packages, and includes the DNF package manager, though Flatpak must be installed manually for graphical applications. The Fedora team is working on enhancing Flatpak support and introducing hardware-accelerated graphics for GUI applications in WSL. This inclusion of Fedora expands the options available to Windows users interested in the Linux ecosystem.
Winsage
May 1, 2025
Arch Linux is now available on Microsoft's Windows Subsystem for Linux (WSL) for Windows 11 users. This release follows Fedora 42's addition to WSL. The collaboration between the Arch Linux team and Microsoft led to the creation of a dedicated GitLab repository for Arch Linux on WSL. Monthly updates will be provided, but this version is only compatible with WSL 2. Users can install Arch Linux on WSL using the command: wsl --install archlinux. After installation, it can be accessed via Windows Terminal or PowerShell. Performance is reported to be impressive, though it may vary based on user familiarity.
Winsage
April 30, 2025
Arch Linux has officially become available as a distribution for the Windows Subsystem for Linux (WSL). This release follows earlier reports from It's Foss News in February. WSL allows users to run a complete Linux environment on Windows, and the addition of Arch Linux introduces a rolling release model. The Arch Linux WSL image is maintained by Robin Candau and is built and released monthly through a GitLab CI schedule, with systemd support included. Users are advised to run pacman -Syu after their first launch to ensure they have the latest updates. To use Arch Linux on WSL, WSL 2 must be installed. The installation process involves running commands in PowerShell: PLACEHOLDER2f45746c1eb6702b for WSL 2, followed by PLACEHOLDERcebb97c90d3dc3e4 to add Arch Linux, and then PLACEHOLDERff7af59bfa5f1c11 to boot into it. Users should also update their system with PLACEHOLDERe23a8bb0ce81dc13. WSL 2 supports running Linux GUI desktops via Remote Desktop Protocol (RDP), but available images are primarily command-line based.
Search