Windows Subsystem Linux 2 (WSL) - Up and Running
Hey! Thanks for stopping by! Just a word of warning, this post
is almost 5 years old, wow! If there's technical information in here it's more than likely
out of date.
Now that Windows Subsystem Linux has finally arrived I think it’s time to refresh my notes on it from the last post I did back at the end of 2018.
https://docs.microsoft.com/en-gb/windows/wsl/install-win10
https://docs.microsoft.com/en-gb/windows/wsl/wsl2-kernel
Install terminal
Run terminal as admin
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Then
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Restart
Set WSL 2 as default
wsl --set-default-version 2
Install Ubuntu
# see what version of WSL is running
wsl -l -v
Set the version of WSL
wsl --set-version Ubuntu 2
# set it to default with
wsl --set-default-version 2
There's a reactions leaderboard you can check out too.