Today we’re very excited to announce the open-source release of the Windows Subsystem for Linux. This is the result of a multiyear effort to prepare for this, and a great closure to the first ever issue raised on the Microsoft/WSL repo:

https://github.com/microsoft/WSL

  • The_Decryptor@aussie.zone
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 days ago

    Not like you can fork it to run on a different OS.

    For WSL1? yep that’s effectively impossible.

    WSL2 is effectively just a wrapper around the kernel virtualization support and a bundling format, as long as whatever image you run talks to the host properly (like any other virtualised OS would) it’d run.

    • TerHu@lemm.ee
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 days ago

      does that mean we could build a wsl that provides the flatpak environment, so that we could get a one click install flatpak for windows?

      • The_Decryptor@aussie.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        Should be possible, as it’s a normal VM you can already install flatpak apps in said VM as normal, you’d just need a Windows side bit to invoke the install within WSL when you opened the flatpak bundle, and then something to add a start menu shortcut from the app inside the VM (Which I actually assume already exists, I never actually ran WSL2 when I was on Windows)

        • ramble81@lemm.ee
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 day ago

          WSL2 now supports WSLg which allows you to run X11 (or other graphics packages) natively now.