microsoft / windows-dev-box-setup-scripts

Scripts to simplify setting up a Windows developer box
MIT License
1.5k stars 368 forks source link

Hey the Ubuntu WSL link in the scripts is outdated. #58

Closed jcklpe closed 5 years ago

jcklpe commented 6 years ago

Link is for 16.04 but not for 18.04 which from what I can tell is only available through third party links or the Windows Store.

I haven't tried this yet but I believe this powershell script should work.

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Get-AppxPackage -name "*Ubuntu*18*" | Add-AppxPackage
yodurr commented 6 years ago

not all the store distros work from command line install. Makes sense to enable ubuntu 18 if it isn't already enabled. @tara-raj

jcklpe commented 6 years ago

It's enabled but I was not able to find a way to install from CLI, had to do it manually in the store which was no big deal.

WSLUser commented 5 years ago

dupe of #23. It's on Canonical's plate to provide the distro appx for CLI install. They recently released a minimal install version of their OS and they were provided feedback on Twitter to push that to @tara-raj. Only other suggestion would be to hit up the Ubuntu forums under the WSL section and make a request to make the stand-alone appx available. Odd they haven't done this already though when they've worked with MS to get PowerShell available as a snap. This only takes 2 seconds on their part.

jcklpe commented 5 years ago

Excellent thanks. I'll close.