wsl2 (Windows Subsystem for Linux) setup for windows 10 pro
https://docs.microsoft.com/en-us/windows/wsl/install-win10
https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10
# notes from video:
# https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10
# enable subsystem
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
# latest version of windows
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -NoRestart
# reboot computer
# after reboot
wsl --set-default-version 2
# get latest kernel for 64 bit machines
# https://aka.ms/wsl2kernel
# set default again. Make sure no kernel error shows up
wsl --set-default-version 2
# get ubuntu from store. Doesn't require login
https://www.microsoft.com/en-gb/p/ubuntu-2004-lts/9n6svws3rx71
# icon will appear in start menu
# pick a unix username/password. Don't forget this password
# this password is also used for sudo
# run ubuntu updates
sudo apt-get update && sudo apt-get upgrade -y