Repository navigation
Description
Description of the new feature / enhancement
I'd like to be able to winget install ubuntu and have the dependencies all work correctly.
The Ubuntu package would depend on both the WSL (Windows Subsystem for Linux) installer, and the Windows Feature "Virtual Machine Platform".
The Windows Feature support is experimental, and we need to make sure we enable the Windows Features before we install packages that may depend on them. In this case it would be the Windows Subsystem for Linux.
The WSL team would prefer not to add the WSL installer until this capability is GA.
Once this feature is GA, we would add the WSL package as "Microsoft.WindowsSubsystemForLinux" the moniker would be "wsl"
Therefore, I should be able to winget install wsl and I would get the Virtual Machine Platform enabled, and WSL installed with the latest LTS version of Ubuntu. (I would be informed I need to reboot before using it).
Additionally, I should be able to winget install Canonical.Ubuntu.2204 and even if I didn't have WSL installed or the Virtual Machine Platform enabled, the "Ubuntu" package would depend on them and WinGet would just do the right thing.
Proposed technical implementation details
No response
Activity
denelon commentedon Jun 7, 2023
Experimental support for Windows Features has been added in WinGet, but this needs to go GA (Generally Available) before the WSL team would submit the package to the repository.