On 4/5/22 00:14, Patrick Dupre wrote:,
Does somebody have experience with fedora and WSL?
https://docs.microsoft.com/en-us/windows/wsl/install


It's reasonably straightforward to install an unpackaged distribution, you just need a tarball of the distribution.  And lots of those are available for use with podman (or docker).  For example I can pull a container image and then save that to an archive:

    podman pull fedora:35
    podman save fedora:35 -o fedora35.tar

Inside "fedora35.tar" is another tar archive, which is the base layer for the fedora:35 image.  Copy fedora35.tar to your Windows system, and extract it there.  Now you can import that and then run it:

    wsl --import fedora35 c:\Users\<user>\AppData\Local\Packages\Fedora35 c:\Users\<user>\Downloads\fedora35\*.tar
    wsl -d fedora35

You'll usually want to set a registry key to change the default user... (HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss\{ assigned GUID })

It's not click and run by any means, but it's feasible.

https://docs.microsoft.com/en-us/windows/wsl/use-custom-distro
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure
  • WSL Patrick Dupre
    • Re: WSL Kevin Becker
    • Re: WSL Gordon Messmer

Reply via email to