This guide assumes you are working in a Debian based Linux distribution. Specifically, this guide was written and tested using Ubuntu 22.04 LTS (Jammy Jellyfish) on Windows Subsystem for Linux (WSL) 2. It will likely run the same on other modern flavors of Debian-based distributions, though you may run into issues that require the need to modify the process slightly.
This guide assumes you have the following:
- A computer with Hyper-V support enabled in your BIOS. Consult your motherboard manufactures documentation to verify that your motherboard supports Hyper-V and how to enable it.
- At least 1GB of free space on your
C:
drive but realistically you'll need plenty more to do any actual work in WSL. - Windows 10 May 2020 (2004), Windows 10 May 2019 (1903), or Windows 10 November 2019 (1909).
- Local admin permissions for your Windows user account
- Virtual Machine Platform enabled in Windows features.