Search results
- You can do this from the console with the following commands: dism.exe /online /enable-feature / featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart wsl.exe --set-default-version 2
bermu.dev/posts/installing-fedora-on-windows-using-wsl/
People also ask
Can I use Fedora via WSL?
How do I enable WSL2 in Fedora?
What is Fedora Remix for WSL?
How do I import a fedora filesystem into WSL?
Does WSL2 run on Linux?
What is WSL 2?
Oct 31, 2022 · Install/Enable WSL2 on Windows. Now, WSL version 2 is installed in Windows 11 by default, but you have to enable it before utilizing this feature. To do this, search ‘Turn Windows Features on or off‘ from the start menu and enable ‘Windows Subsystem for Linux’.
- Overview
- How to install Fedora on WSL - the easy way
- How to install Fedora and set everything up yourself from scratch
- Adding RPMFusion to Fedora on WSL
- Get the Windows Central Newsletter
How-to
If you like your Linux a little more Red Hat flavored, here's how to get started.
Comments (1)
The Windows Subsystem for Linux (WSL) is an incredible tool that puts real Linux on top of the Windows 10 or 11 PC you already know and love. Setting up is simple, but out of the gate the default Linux distribution (unless you specify otherwise) will be Ubuntu.
But the choice does not end there. While there are a number of distributions available through the Microsoft Store, you're not even limited to just those. In the case of Fedora, it sort of is.
Fedora has been gaining a lot of traction in the Linux space in recent times. This upstream distribution from the same company that also pushes out CentOS and Red Hat Enterprise Linux (RHEL) is fast and easy to use. If you'd like to get some Fedora spun up on your WSL setup, here's everything you need to know.
This guide assumes you already have WSL2 up and running on your PC, so I'm going to skip that part. If you don't yet have it setup, I've written a complete guide on how to setup and install WSL2 on Windows 10 and 11 you should check out first.
Assuming all that there's a really easy way to use Fedora on WSL and that's by installing Fedora Remix by Whitewater Foundry. This isn't an official release by the Fedora Project, instead it has been customized and packaged for distribution by a third-party with built-in optimizations for WSL.
In the Microsoft Store it costs $10, but you can grab it directly from GitHub or through the Windows Package Manager for free. If you want to help support the project, by all means buy the paid version as that's what it's for.
Installing Fedora Remix is no different to installing Ubuntu or Debian from the Microsoft Store. Once the package is installed you just need to launch it, enter a username and password and you're all set. Fedora Remix includes such customizations as the third-party WSL Utilities out of the box, as well as some essential tweaks to the DNF configuration to make it a little snappier. At the time of writing, Fedora Remix is on the latest version 38.
If either of those two pre-packaged methods are too easy for you, or you want to essentially start from nothing and build it yourself from scratch, you can also do that. This works in a similar way to how Fedora WSL mentioned above was created, only you're doing it all yourself.
The process involves downloading a build of Fedora, extracting the file system, importing that into WSL and then adding everything you want on top. For this you will also need to be able to extract from a .tar.xz file so you'll need WinRAR handy.
1. Go to this URL.
2. Download the most current build, at the time of writing it's Fedora 38.
3. Extract the contents of the .tar.xz file using WinRAR.
4. Locate the layer.tar file within.
Like on desktop Fedora, one of the first things to do after you're set up is to add the RPMFusion repos. For reasons there are packages that Fedora cannot distribute built into the operating system, and these mostly live inside RPMFusion.
Adding it to Fedora on WSL, however, is just as easy as adding it to a full desktop install. Simply open up a terminal and enter this command:
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Do a quick sudo dnf update to then pull in all the latest, and you're set. RPMFusion will now be called when using dnf in Fedora. For more on what RPMFusion is check out the website.
All the latest news, reviews, and guides for Windows and Xbox diehards.
Contact me with news and offers from other Future brandsReceive email from us on behalf of our trusted partners or sponsors
Nov 11, 2020 · Using Fedora via WSL will let you blend the two environments together for a fantastic development environment. Prerequisites. There are a few basics you’ll need in order to make this all work. You should be running Windows 10, and have WSL2 installed already.
- Jim Perrin
Jan 10, 2024 · Windows Subsystem for Linux (WSL) now supports running Linux GUI applications (X11 and Wayland) on Windows in a fully integrated desktop experience. WSL 2 enables Linux GUI applications to feel native and natural to use on Windows. Launch Linux apps from the Windows Start menu. Pin Linux apps to the Windows task bar.
May 28, 2024 · Fedora Article: Install Fedora On WSL. I followed the steps and bam. Fedora 39 running on my Windows 11 like native OS. I could access files directly using File Explorer. I quickly installed npm, .NET, git and started using it as daily driver.
Nov 20, 2023 · Set up a WSL development environment using best practices from this set-by-step guide. Learn how to run Ubuntu, Visual Studio Code or Visual Studio, Git, Windows Credential Manager, MongoDB, MySQL, Docker remote containers and more.
Feb 21, 2022 · Using Fedora 33 with Microsoft's WSL2 - Fedora Magazine. Want to use Fedora 33 in Windows Subsystem for Linux (WSL)? This post shows you how to install and configure it. Est. reading time: 3 minutes