Cannot install WSL 2

P

PaulBarbee

I'm running build 18945.1001. I installed Windows Subsystem for Linux from the store as per Install Windows Subsystem for Linux (WSL) on Windows 10. I can go to the store, click Debian, click Launch and get a Bash terminal. I rebooted, ran Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform, the system automatically rebooted. I then ran wsl and PowerShell responds Windows Subsystem for Linux has no installed distributions.

Distributions can be installed by visiting the Microsoft Store:


I tried installing from within PowerShell by following the instructions at Manually download Windows Subsystem for Linux (WSL) Distros. I ran Invoke-WebRequest -Uri Storefronts Toolswsl-ubuntu-1604 -OutFile Debian.appx -UseBasicParsing


I downloaded the Debian appx file. I ran Add-AppxPackage DebianGNULinux_1-1-3-0_x64__76v4gfsz19hv4.Appx


PowerShell still claims there are no installed distributions. I can run Debian from the Start menu. How can I install WSL 2 and run it from within PowerShell?


Continue reading...
 
Back
Top Bottom