{"id":10655,"date":"2025-05-06T09:00:05","date_gmt":"2025-05-06T16:00:05","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/commandline\/?p=10655"},"modified":"2025-05-06T09:00:05","modified_gmt":"2025-05-06T16:00:05","slug":"fedora-linux-is-now-an-official-wsl-distro","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/commandline\/fedora-linux-is-now-an-official-wsl-distro\/","title":{"rendered":"Fedora Linux is now an official WSL distro"},"content":{"rendered":"<p>We\u2019re pleased to announce that one of the latest additions to the list of official WSL distros is Fedora Linux! The <a href=\"https:\/\/fedoraproject.org\/\">Fedora Project<\/a> has taken advantage of WSL\u2019s new <a href=\"https:\/\/learn.microsoft.com\/windows\/wsl\/build-custom-distro\">tar-based architecture<\/a> to produce WSL images <a href=\"https:\/\/fedoraproject.org\/wiki\/Changes\/FedoraWSL\">beginning with Fedora 42<\/a>.<\/p>\n<h2>Try it out<\/h2>\n<p>To install it, run <code>wsl \u2013-install FedoraLinux-42<\/code>and then launch it with <code>wsl \u2013d FedoraLinux-42<\/code>. You\u2019ll be prompted for a username, and then you\u2019ll be ready to go. By default, your user does not have a password and is part of the <code>wheel<\/code> group which allows you to use <code>sudo<\/code> to run commands that require elevated privileges.<\/p>\n<h2>Tour of Fedora 42<\/h2>\n<p>If this is your first time using Fedora, the <a href=\"https:\/\/docs.fedoraproject.org\/en-US\/fedora\/latest\/\">Fedora documentation<\/a> is a good place to start as it includes guides, release notes, and directions for getting help if you encounter a problem.<\/p>\n<p>Fedora uses the <a href=\"https:\/\/docs.fedoraproject.org\/en-US\/quick-docs\/dnf\/\">dnf package manager<\/a> to install RPM packages. In addition to RPM packages, Fedora supports <a href=\"https:\/\/flatpak.org\/\">Flatpak<\/a> for graphical applications. Note that <code>flatpak<\/code> is not currently included in the WSL image by default, so if you want to use Flatpaks you will need to install it with <code>sudo dnf install flatpak<\/code>. Next, follow the <a href=\"https:\/\/flathub.org\/setup\/Fedora\">manual setup instructions for Flathub<\/a>. After that, any application on <a href=\"https:\/\/flathub.org\/\">Flathub<\/a> is just a command away. For example, you could install <a href=\"https:\/\/flathub.org\/apps\/ca.vlacroix.Tally\">Tally<\/a> and count all the Fedora Linux releases.<\/p>\n<p>The Fedora community works hard to ensure the newest stable versions of many popular projects are available. You\u2019ll find the latest software development tools like GCC 15, LLVM 20, Golang 1.24, Ruby 3.4, PHP 8.4, Python 3.9 through the latest Python 3.14 alpha, and more.<\/p>\n<h2>Improvement and Feedback<\/h2>\n<p>This is just the beginning for Fedora on WSL. For example, there is ongoing work to enable graphical applications to take advantage of hardware acceleration, and there are opportunities to improve the <a href=\"https:\/\/bugzilla.redhat.com\/show_bug.cgi?id=2346202\">flatpak experience<\/a>.<\/p>\n<p>If you have any questions, ideas about making Fedora on WSL better, or want to get involved in the Fedora Project, please join us on <a href=\"https:\/\/discussion.fedoraproject.org\/\">Fedora\u2019s Discourse<\/a> or chat with us on <a href=\"https:\/\/matrix.to\/#\/#cloud:fedoraproject.org\">Matrix<\/a>.<\/p>\n<p>Finally, if you run into a bug or if something doesn\u2019t work as expected, please <a href=\"https:\/\/docs.fedoraproject.org\/en-US\/cloud\/wsl\/#_reporting_bugs\">report it as a bug<\/a>.<\/p>\n<h2>Thanks<\/h2>\n<p>In addition to the thousands of contributors that make the Fedora Project run, this would not have been possible without the work of David Duncan, Neal Gompa, and Patrick Lang.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We\u2019re pleased to announce that one of the latest additions to the list of official WSL distros is Fedora Linux! The Fedora Project has taken advantage of WSL\u2019s new tar-based architecture to produce WSL images beginning with Fedora 42. Try it out To install it, run wsl \u2013-install FedoraLinux-42and then launch it with wsl \u2013d [&hellip;]<\/p>\n","protected":false},"author":189156,"featured_media":10658,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[12,9],"tags":[],"class_list":["post-10655","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fedora","category-bash-on-ubuntu-on-windows"],"acf":[],"blog_post_summary":"<p>We\u2019re pleased to announce that one of the latest additions to the list of official WSL distros is Fedora Linux! The Fedora Project has taken advantage of WSL\u2019s new tar-based architecture to produce WSL images beginning with Fedora 42. Try it out To install it, run wsl \u2013-install FedoraLinux-42and then launch it with wsl \u2013d [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/10655","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/users\/189156"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/comments?post=10655"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/10655\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media\/10658"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media?parent=10655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/categories?post=10655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/tags?post=10655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}