Skip to content

Windows Features (WSL) #3320

Closed
Closed

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

  1. added
    Issue-Feature
    Experimental
    on Jun 7, 2023
  2. denelon commented on Jun 7, 2023

    @denelon
    CollaboratorAuthor

    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.

  3. added
    Dependencies
    and removed
    Needs-Triage
    on Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DependenciesExperimentalIssue-Feature

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions