Chapter 2: Installing and Configuring the Windows Subsystem for Linux

The Windows Subsystem for Linux (WSL) isn't installed by default, so the first step toward getting up and running with it will be to install it along with a Linux distribution (distro) of your choice. By the end of this chapter, you will know how to install WSL and how to install Linux distros to use with it. You will also see how to inspect and control Linux distros as well as how to configure additional properties in WSL.

In this chapter, we're going to cover the following main topics in particular:

  • Enabling WSL
  • Installing Linux distros in WSL
  • Configuring and controlling WSL

Enabling WSL

To set up your machine ready for running WSL, you need to ensure that you are on a ...

Get Windows Subsystem for Linux 2 (WSL 2) Tips, Tricks, and Techniques 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.