Skip to content

WSL

In this part, we’re mainly concerned about WSL 2 itself, or in more precise terms the WSL kernel.

As we will install a different distro than the default (Ubuntu) in a second anyway, we won’t bother about that particula part of Microsoft’s official documentation.

Enable the Windows Feature

You might want to enable the Windows Subsystem for Linux Windows feature. You can either try opening your Windows Search and searching for Turn Windows features on or off, or you can dig your way through the Control Panel.

Install / Update WSL

To install WSL from a cmd.exe-prompt or PowerShell run

Terminal window
wsl.exe --install --no-distribution

with elevated privileges, or if you’ve already installed WSL in the past, run

Terminal window
wsl.exe --update

also from an elevated prompt.

JustWorksTM?

As it turns out, if you’re in a pretty restricting corporate setting, the Windows environment is somewhat … let’s say botched. The only way I was able to install WSL successfully, is by using the manual installation method.

  1. Download the latest WSL release (the .msixbundle)

  2. Install it by running

    Terminal window
    Add-AppxPackage Microsoft.WSL_{version}_{arch}.msixbundle
  3. Proceed with the ArchWSL chapter.