Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Features (WSL) #3320

Closed
denelon opened this issue Jun 7, 2023 · 1 comment · Fixed by #3545
Closed

Windows Features (WSL) #3320

denelon opened this issue Jun 7, 2023 · 1 comment · Fixed by #3545
Labels
Dependencies Blocked by microsoft/winget-cli/issues/163 Support for Dependencies Experimental This experimental feature can be enabled in settings Issue-Feature This is a feature request for the Windows Package Manager client.
Milestone

Comments

@denelon
Copy link
Contributor

denelon commented Jun 7, 2023

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

@denelon denelon added Issue-Feature This is a feature request for the Windows Package Manager client. Experimental This experimental feature can be enabled in settings labels Jun 7, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Jun 7, 2023
@denelon
Copy link
Contributor Author

denelon commented 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.

@denelon denelon added Dependencies Blocked by microsoft/winget-cli/issues/163 Support for Dependencies and removed Needs-Triage Issue need to be triaged labels Jun 7, 2023
@denelon denelon added this to the v1.6 Client milestone Jul 10, 2023
@denelon denelon closed this as completed Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Blocked by microsoft/winget-cli/issues/163 Support for Dependencies Experimental This experimental feature can be enabled in settings Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant