Red Hat Enterprise Linux Joins WSL

Red Hat Enterprise Linux becomes an official WSL distro, featuring modern tar-based distro packaging and improved developer user experience.

Enterprise Linux enthusiasts and developers alike have something exciting to look forward to: Red Hat officially joins Microsoft’s Windows Subsystem for Linux (WSL) family.

In the coming months, RHEL will become an official WSL distribution, making it easier for users to install and discover through commands like wsl --list --online and wsl --install.

Moreover, Red Hat’s upcoming release will be delivered using a brand-new tar-based WSL distro architecture. This new approach, which allows distributions to be packaged and installed without needing to write Windows-specific code, has been developed with substantial feedback from the Red Hat team.

As Ron Pacheco, Senior Director of the Red Hat Enterprise Linux Ecosystem, explained,

Red Hat is committed to driving greater choice and flexibility for developers, which is why we’re working closely with the Microsoft team to bring RHEL, the largest commercially available open-source Linux distribution, to all WSL users.

The new tar-based architecture aims to simplify the process of creating WSL distributions. Previously, developers had to package a .tar file into an .appxbundle and write Windows-specific code to set up users and distribute via the Microsoft Store.

Now, the process is much more streamlinedโ€”you start with the “.tar” file (which could even be an exported Linux container) and add an “/etc/wsl-distribution.conf” file. This configuration file can contain options like default distro names, icons, and commands for the out-of-box experience.

Furthermore, the new format also opens up the possibility of Linux-based or even Windows-based OOBE configurations, allowing end users to customize their systems greatly.

So, what does this mean for WSL users? The new architecture brings some exciting features that developers and enterprise users eagerly await. One key advantage is automating the WSL distro setup more easily, enabling commands to run before user creation.

Moreover, error messages have been improved for clearer troubleshooting, and users can now set the WSL distro name and install location directly, even installing onto separate hard drives with new options like wsl --install --name and --location.

However, while the new tar-based architecture will soon become the default experience, Microsoft has no immediate plans to deprecate the appx-based setup. Existing users will not be forced to migrate, and current distributions will continue to be supported.

Lastly, Microsoft has also taken steps to improve the user experience for newcomers to WSL. Based on feedback from users unfamiliar with Linux, the new WSL release features an enhanced getting-started experience.

In light of this, when users run their first WSL distribution, they will now see the terminal window and a friendly introduction to WSL, complete with feature overviews and helpful links to deeper documentation.

For more information on all new WSL features, refer to Microsoft’s announcement. Red Hat’s one is here.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%