wsl but on linux code example
Example 1: switch installed linx to wsl2
wsl.exe --set-version Ubuntu 2
Example 2: The Windows Subsystem for Linux optional component is not enabled.
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart