In WSL, the only available option is Ubuntu. However, if I want to use a Fedora what should I do. I understand the question had already been asked Here but that was years ago. Any information would go a long way. Thanks
21 Answer
You can follow the steps described on Using Fedora 33 with Microsoft’s WSL2 to add Fedora to WSL2, here is the essential steps:
- Download Fedora from this github repo
- Uncompress the file, the result is
fedora-33.20210303-x86_64.tar. - From cmd
wsl.exe --import Fedora-33 c:\distros\Fedora-33 $HOME\Downloads\fedora-33.20210303-x86_64.tar- Launch Fedora
wsl -d Fedora-33 1