April 1, 2023
Larry Ewing The Windows Subsystem for Linux is an optional feature for running Linux applications on Windows PCs, thanks to a lightweight virtual machine. It will soon work with even more Linux software, thanks to newly-added systemd support. Microsoft introduced a revamped Windows Subsystem for Linux in 2019, known as WSL2, which runs the Linux…

Larry Ewing

The Windows Subsystem for Linux is an optional feature for running Linux applications on Windows PCs, thanks to a lightweight virtual machine. It will soon work with even more Linux software, thanks to newly-added systemd support.

Microsoft introduced a revamped Windows Subsystem for Linux in 2019, known as WSL2, which runs the Linux kernel and other system functions on top of a minimal virtual machine (a specialized Hyper-V container, to be specific). It’s fast and has full access to your Windows files, but lacks support for systemd — a collection of services and utilities in most Linux distributions that handle devices, logging, networking, and other functions. That means software that requires systemd doesn’t work or has more limits in WSL2, such as Docker containers and applications distributed as ‘Snap’ packages.

Canonical (the developer of Ubuntu Linux) and Microsoft have been working together to fix the problem, and now systemd is available on WSL2. It’s limited to the Preview version of WSL for now, and you have to turn it on by modifying a settings file — the full instructions are in the source…

Read Full Article Source