- 安装包下载链接,下载后并解压复制到C:\Windows\system32目录下
链接:https://pan.baidu.com/s/1T8gJs3B9Cojrg4x-8x2myQ 提取码:5f7f
或者占击windows键,在命令Windows PowerShell并以管理员身份运行,输入以下命令进行下载PS C:\Windows\system32> Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile Ubuntu.appx -UseBasicParsing
下载完成后,输入以下命令进行重命名PS C:\Windows\system32> Rename-Item Ubuntu.appx Ubuntu1604.zip
解压文件PS C:\Windows\system32> Expand-Archive Ubuntu1604.zip Ubuntu1604
进入 Ubuntu1604目录PS C:\Windows\system32> cd Ubuntu1604
查看目录PS C:\Windows\system32\Ubuntu1604> ls
PS C:\Windows\system32\Ubuntu1604> .\ubuntu1604.exe
输入用户名创建一个UNIX帐号点击Windows键,键入bash或者wsl,选择以管理员身份打开