基本概念
Windows Subsystem for Linux:The Windows Subsystem for Linux lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a virtual machine.
问题描述
在windows应用商店安装ubuntu系统,报错WslRegisterDistribution failed with error: 0x8007019e
Installing, this may take a few minutes...
Installation Failed!
Error: 0x8007019e
Press any key to continue...
问题分析
未安装Windows子系统支持。
解决方案
方法一
1.WIN+X,选择Windows PowerShell(管理员)
2.输入:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
3.输入Y,会自动重启!
4.重新打开已经安装的子系统,等几分钟,设置或者输入账户和密码。
方法二
1、控制面板--程序与功能--启动或关闭Windows功能
2、
勾选适用于Linux的Windows子系统
,重启
即可
参考文章
https://blog.csdn.net/qq_33033367/article/details/82820983
https://blog.csdn.net/AI_Fanatic/article/details/82185437