© Hayden Barnes 2021
H. BarnesPro Windows Subsystem for Linux (WSL)https://doi.org/10.1007/978-1-4842-6873-5_11

11. Troubleshooting WSL

Hayden Barnes1  
(1)
Columbus, GA, USA
 

Installation

When it comes to installing WSL, it is generally smooth sailing, but there are a few scenarios where things can go wrong. In this section, we will go through a few of these scenarios and things to check.

Ensure the Windows Optional Features Are Enabled

The first thing to check when you have problems enabling WSL is that the required bits of Windows are enabled. You must ensure that the Windows components are named “Virtual Machine Platform” and “Windows Subsystem for Linux.” The easiest way to do this, without navigating through menus, is to open a PowerShell window ...

Get Pro Windows Subsystem for Linux (WSL): Powerful Tools and Practices for Cross-Platform Development and Collaboration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.