Re: WSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux