离线安装WSL2
1、开启相关功能
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
2、下载程序和镜像系统(如:ubuntu)
https://github.com/microsoft/WSL/releases
https://learn.microsoft.com/en-us/windows/wsl/install-manual#downloading-distributions