Windows 10 如何在没有Windows应用商店的情况下安装WSL?

Windows 10 如何在没有Windows应用商店的情况下安装WSL?,windows-10,windows-subsystem-for-linux,Windows 10,Windows Subsystem For Linux,我有windown 10 enterprise,我发现这个版本没有windows应用商店 如何使用ubuntu安装linux子系统(WSL) 找到了使用powershell的解决方案 参考资料 作为管理员的Powershell Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux cd c:\ Invoke-WebRequest -Uri https://aka.ms/

我有windown 10 enterprise,我发现这个版本没有windows应用商店
如何使用ubuntu安装linux子系统(WSL)

找到了使用powershell的解决方案

参考资料

作为管理员的Powershell

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

cd c:\

Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile Ubuntu.appx -UseBasicParsing

Rename-Item ./Ubuntu.appx ./Ubuntu.zip
Expand-Archive ./Ubuntu.zip ./Ubuntu

cd ./Ubuntu

.\ubuntu1604.exe

$userenv = [System.Environment]::GetEnvironmentVariable("Path", "User")
[System.Environment]::SetEnvironmentVariable("PATH", $userenv + ";C:\Ubuntu", "User")

你的问题到底是什么?谢谢-这对那些因为任何原因无法访问microsoft应用商店的人来说都是非常有帮助的。确实非常有帮助!