1.商店安装Ubuntu
2.控制面板-程序-启用功能
启用“适用于Linux的Windows子系统”,提示重启并重启
3.启动Ubuntu
4.报错问题解决
Installing, this may take a few minutes…
WslRegisterDistribution failed with error: 0x8007019e
The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
See https://aka.ms/wslinstall for details.
Press any key to continue…
已经打开Windows支持Linux功能了,还报这个错误
打开cmd窗口,执行:
wsl --set-default-version 1
重新打开Ubuntu,输入账号密码安装成功