Red Hat is Becoming an Official Microsoft 'Windows Subsystem for Linux' Distro (microsoft.com) 29
"You can use any Linux distribution inside of the Windows Subsystem for Linux" Microsoft recently reminded Windows users, "even if it is not available in the Microsoft Store, by importing it with a tar file."
But being an official distro "makes it easier for Windows Subsystem for Linux users to install and discover it with actions like wsl --list --online and wsl --install," Microsoft pointed out this week. And "We're excited to announce that Red Hat will soon be delivering a Red Hat Enterprise Linux WSL distro image in the coming months..."
Thank you to the Red Hat team as their feedback has been invaluable as we built out this new architecture, and we're looking forwards to the release...! Ron Pacheco, senior director, Red Hat Enterprise Linux Ecosystem, Red Hat says:
"Developers have their preferred platforms for developing applications for multiple operating systems, and WSL is an important platform for many of them. 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 Red Hat Enterprise Linux, the largest commercially available open source Linux distribution, to all WSL users."
Read Pacheco's own blog post here.
But in addition Microsoft is also releasing "a new way to make WSL distros," they announced this week, "with a new architecture that backs how WSL distros are packaged and installed." Up until now, you could make a WSL distro by either creating an appx package and distributing it via the Microsoft Store, or by importing a .tar file with wsl -import. We wanted to improve this by making it possible to create a WSL distro without needing to write Windows code, and for users to more easily install their distros from a file or network share which is common in enterprise scenarios... With the tar based architecture, you can start with the same .tar file (which can be an exported Linux container!) and just edit it to add details to make it a WSL distro... These options will describe key distro attributes, like the name of the distro, its icon in Windows, and its out of box experience (OOBE) which is what happens when you run WSL for the first time. You'll notice that the oobe_command option points to a file which is a Linux executable, meaning you can set up your full experience just in Linux if you wish.
But being an official distro "makes it easier for Windows Subsystem for Linux users to install and discover it with actions like wsl --list --online and wsl --install," Microsoft pointed out this week. And "We're excited to announce that Red Hat will soon be delivering a Red Hat Enterprise Linux WSL distro image in the coming months..."
Thank you to the Red Hat team as their feedback has been invaluable as we built out this new architecture, and we're looking forwards to the release...! Ron Pacheco, senior director, Red Hat Enterprise Linux Ecosystem, Red Hat says:
"Developers have their preferred platforms for developing applications for multiple operating systems, and WSL is an important platform for many of them. 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 Red Hat Enterprise Linux, the largest commercially available open source Linux distribution, to all WSL users."
Read Pacheco's own blog post here.
But in addition Microsoft is also releasing "a new way to make WSL distros," they announced this week, "with a new architecture that backs how WSL distros are packaged and installed." Up until now, you could make a WSL distro by either creating an appx package and distributing it via the Microsoft Store, or by importing a .tar file with wsl -import. We wanted to improve this by making it possible to create a WSL distro without needing to write Windows code, and for users to more easily install their distros from a file or network share which is common in enterprise scenarios... With the tar based architecture, you can start with the same .tar file (which can be an exported Linux container!) and just edit it to add details to make it a WSL distro... These options will describe key distro attributes, like the name of the distro, its icon in Windows, and its out of box experience (OOBE) which is what happens when you run WSL for the first time. You'll notice that the oobe_command option points to a file which is a Linux executable, meaning you can set up your full experience just in Linux if you wish.
Two words (Score:4, Insightful)
Alma
Rocky
Re: (Score:2)
AlmaLinux just released version 9.5 a few days ago as well.
Re: (Score:2)
I've been a very happy AlmaLinux camper for a few years now.
WSL that has a GUI (Score:2)
Did WSL ever get support for a GUI? I'm hoping for that ...
Re: (Score:2)
That's a useless feature you can already run gui applications from a WSL linux instance since 2021. You would be better off learning how to setup and run proper aliases in a headless linux install.
I run
Calligra (company is a google workspace shop),
Gimp (better faster updates on linux side),
Remmina (beats the hell out of Win RDP runs like shit in Win11),
Firefox (as a second instance with strict privacy & tougher Ublock settings)
and a few security tools from my Win11 desktop installed solely in WSL - Ubu
Re: (Score:2)
Did WSL ever get support for a GUI? I'm hoping for that ...
WSL2 has WSLg [github.com].
I use it to run Linux IntelliJ IDEA from within WSL and it's not perfect but overall works quite well. The alternative of using Windows IntelliJ IDEA to access a project residing within WSL had very bad performance when I tried it.
A fitting pairing (Score:4, Insightful)
Red Hat is the worst large Linux distro out there and Windows is, just bad.
Re: A fitting pairing (Score:2)
It's not bad. It's just 10 years behind in all the wrong places.
Re: (Score:2)
Nothing to do with 10 years ago. Everything to do with taking your autonomy away, and making you pay for what smart people get for free.
Re: (Score:2)
Thanks.
Re: (Score:2)
Having used both (still) ubuntu and rocky/EL in production AT SCALE, I can assure you I'd choose EL/rocky 10 out of 10 times. Ubuntu/debian are still suffering from being not quite there.
A big black eye is just the autoinstall/cloud-init garbage they still hold onto. Such a nightmare compared to the ease of anaconda/kickstart. Ubuntu has already pulled a ton of things from RHEL, just pull anaconda too.
It sucks being "almost" there and yet not.
Re: (Score:3)
Not to mention that Ubuntu seems to change their supported method of unattended installation with almost every new release - and, for some reason, occasionally chooses to retroactively disable previously supported methods on still-maintained older releases.
Re: (Score:1)
EEE? (Score:3)
Is this still on track:
https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguish
I still have no idea why would anyone what to use WSL. Running Linux on top of a OS were anything goes, no thank you.
Re: EEE? (Score:2)
It is extremely backwards, but for a lot of desktop use cases it doesn't matter. I still have some low end laptops for special Windows related purposes because they need to run some single piece of windows software, be disposable, and they don't have the resources to put Windows in a VM.
Back when I ran Windows for gaming purposes, I used to use Linux in a VM for stuff like gparted on flash drives, usually with vmplayer.
Re: (Score:2)
It's convenient for some things. I confess, I never learned PowerShell; the syntax doesn't make any sense to me. When I have to do anything in PowerShell I google "how do you do this in powershell" and cut/paste.
But I have many years' experience in bourne/csh/bash programming. I used Cygwin for years in cases where I needed to do something esoteric on Windows, but Cygwin is a little funky. WSL in comparison is a dream to install, and you get to use an actual, recognizable Linux distro. From within WSL,
Re: (Score:2, Interesting)
I learned PowerShell about 10 years ago. Almost against my will.
It took me over a year to be able to convert a line from CMD to PowerShell under 10 minutes.
The language is a way to force admin to learn C#.
There are lots of potholes and caveats.
The 5.1 version still returns $true for the following: Test-Path " "
Re: (Score:2)
It might be good to look at Docker as well to use with WSL. I've found that having it use WSL is nice, especially when I'm doing something that only needs a throwaway VM, such as doing a compile, where I can have a VM spawn, provision itself, load what it needs, do the build, then exit, leaving the built artifacts in a shared directory. Part of the reason I do this is for repeatability, so I don't have to deal with "it works on my machine, why not yours?" Vagrant used to be something I would use for this
Re: EEE? (Score:3)
MS might push WSL as a vehicle to stop people from using alternative OSes on bare metal, so one day they can just lock down the PC ecosystem via UEFI/Secure Boot to only run Windows so they can control everything that happens on the computer, and nobody would object.
Apple might be working towards the same goal, and they might be ahead. And MS loves copying from Apple.
Re: (Score:2)
Is this still on track:
https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguish
Too late, Red Hat is already owned by IBM. There isn't much left to extinguish.
Re: (Score:2)
That tells us you've never worked in a large scale IT group inside a fortune 500.
Re: EEE? (Score:2)
No. It's quite the opposite. Linux has infected Windows just as Steve Ballmer warned us it would.
MS at it again (Score:1)
systemd? (Score:2)
When I first discovered WSL, I first tried to bring up CentOS because I was doing development under Red Hat and it would be convenient to have a similar environment. But WSL at time time did not support systemd. You could get CentOS to boot but you couldn't do a lot with it. I guess that's no longer the case?
Re: (Score:2)
Maybe there's now a systemd-wsld-systemdd available.
Re: systemd? (Score:2)
Good old times...
Re: (Score:2)
Hasn't been the case for a good while.
M$ Partnering With IBM - AGAIN! (Score:2)
First it was M$ partnering with IBM on OS/2 ... and we all know how that turned out.
Now we have have M$ partnering with RedHat, aka IBM by another name, so it makes me wonder how this adventure will turn out.
In related news ... (Score:2)
...the Gen 5 Glock Model 19 is becoming the official pistol with which to shoot yourself in the foot.