第一步:进入Microsoft商城

自定义ubuntu桌面版安装位置(WindowsMicrosoftStore安装Ubuntu)(1)

第二步:下载Ubuntu

自定义ubuntu桌面版安装位置(WindowsMicrosoftStore安装Ubuntu)(2)

第三步:安装Ubuntu:

自定义ubuntu桌面版安装位置(WindowsMicrosoftStore安装Ubuntu)(3)

点击安装时,可能会出现类似这样的报错:

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...

解决方法:

1.控制面板–>程序–>启用或关闭Windows功能–>勾选适用于Windows的Linux子系统2.勾选“应用于Linux的Windows子系统”点击确定之后,需要重启电脑

自定义ubuntu桌面版安装位置(WindowsMicrosoftStore安装Ubuntu)(4)

第四步:重启完电脑后,继续点击ubuntu安装,安装成功后就会提示你创建账户

自定义ubuntu桌面版安装位置(WindowsMicrosoftStore安装Ubuntu)(5)

如下图就代表着你已经安装好了Ubuntu,并且创建了一个账户:

自定义ubuntu桌面版安装位置(WindowsMicrosoftStore安装Ubuntu)(6)

,