wsl(win11安装Ubuntu) 安装问题

项目场景:

win 11 安装 Ubuntu 20.04.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…
如下图:
在这里插入图片描述

原因分析:

未勾选适用于Linux的Windows子系统。


解决方案:

控制面板–>程序与功能–>启动或关闭Windows功能->勾选适用于Linux的Windows子系统,重启即可。如下所示:
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_37196265/article/details/123808007