Love this feature. Almost everyone on my dev team uses it at this point. Perfect solution for companies that require the window OS while also being able to do all our development work on Linux.
This is very clearly a very nice blend of OS’s shows that Windows/Linux can be “friends”. Nice both communities worked on this to make it a success. Another proof to all of those that “hate” either OS, that most things are possible - especially if given an honest “try”. Thank you Sir. Very nice live demonstration.
Let's not forget that Satya Nadella was the cloud developer before being promoted as the CEO. He knows the value of Linux when it comes to cloud computing and servers. If Nadella's not here, we won't be having this kind of feature at all.
For those who don't know, this has been a thing since Windows 10 version 2004. It was in the turn on or off features section, and the distro choices were just Ubuntu and Kali Linux from the Microsoft Store. (For real)
It still giggles my heart when WSL first existed not long after I left Linux for Windows. Yes, Linux may be free and open source, but I had enough dealing with all the hassles of it for daily computing. Since I moved to Windows, I really never compelled to go back to Linux as my primary desktop OS. But credit where it's due, we all have to thank Satya Nadella. For someone like him who used to work as cloud developer before being the CEO of Microsoft, he knows the value of Linux for cloud computing and servers. If Nadella isn't here, we won't be getting this kind of feature at all.
Really liked Henry's cameo! xD This reminds me of something I've been meaning to look for, is there anything for Linux that's similar to Windows Subsystem for Android? It doesn't have to be exactly like WSA
I had dual boot manjaro with windows for a long time and with WSL on windows 11 i barley log in in manjaro anymore tbh i can use everything i need in windows now 😅😅 having vscode that works on linux in windows was mind blowing
If you guys haven't noticed it's the distro terminal (only terminal) that uses gpu Not the wls and every linux app you install via terminal(distro) don't use either of gpus not even Intel or Amd integrated gpu that's why it's difficult to play vlc and other photo editing apps Don't even think about playing linux games via wsl2 If you think about it, it's exactly what Microsoft wanted implement half-assed broken solution into their windows so you become less reliant on linux Best solution is go back to vm like vmware which actually uses your Nvidia/Amd dedicated gpu
In the chapter starting at 2:13 the title is "Install Ubuntu" when in fact ubuntu was automatically installed with WSL (chapter 0:43), something that didn't happen in previous versions of WSL, you would have to install ubuntu or other distro after WSL was installed. It seems nowadays Microsoft is living a good relationship with Canonical.
You should consider looking into bedrock Linux, it in similar to WSL let's you run other gnu/Linux distros programs including GUI and CLI in pretty much any distro, like for example getting pacman and the AUR on a debian system, or accessing enterprise centos programs in a void install
@@_lun4r_ it's how bedrock works, when you "hijack" something like ubuntu it turns in into a bedrock install and from there when you do "brl fetch arch" for example it installs the lastest minimal install of arch from the repos and puts in is own folder at /bedrock/strata/arch with all the required packaged for arch applications and from there you can natively run and arch package on ubuntu! It's quite neat. You can learn more at bedrock linux website(I am not going to put it so my comment is not removed,it is easy to find if you google)
So, where are those saying that Microsoft contributes to Linux world to move to linux-like kernel? Unfortunately, the domination of Windows is unshakable😔
Great video & Henry is awesome 😎 Wanted to relay that the "wsl --list --online" output is outdated and has to be fixed by Microsoft directly (we're in contact with them to do so). SUSE officially offers SLES, Leap, and Tumbleweed from the Microsoft Store.
This by definition is not native applications. WSL2 runs out of a VM, meaning the loading of an additional kernel and virtualized computer components. This would need to be loaded in a container-based compatibility layer to be considered native. And running Linux in a container on a Windows kernel would require emulation of Linux kernel calls into the windows kernel (This was how WSL1 did it) which has huge performance issues particularly with IO. So there is no way to run "native" Linux applications on Windows.
@Fernando Figueredo VMs are not native. Your virtualizing on top of hardware, not running directly on top of it. To be native, you would need to run directly on the host kernel and therefore have direct hardware access. Not a hypervisor splicing up your resources. And this is with WSL2. WSL1 ran in a container where the kernel calls where emulated. WSL2 was a huge step up architecturally speaking because it didn't emulate kernel calls. But again this is just not native applications. It's virtualized applications. The hypervisor has direct hardware access. The application calls into a guest kernel, which then in turn calls the hypervisor(In this case a subcomponent of the host kernel), which then gets direct hardware access. Nothing about that process is "native". A good solution to the compatibility problem, but not native. I believe you are trying to say "running natively compiled Linux applications". Because this does allow you to run natively compiled Linux applications. It just doesn't let you do so natively on your machine, instead you run it in a virtual machine.
I need help on why my ubuntu on my windows terminal in my windows 10 pc is weird. Its weird because it has this pinkish colour background colour while also some commands (except htop) doesn't work.
On the topic, idk what was the deal with canonical but ms *at least* could give ms-office in exchange for all the ecosystem damn. We're just getting yEEEted here. Just to add, That was Weston (look at the decorations) as I can see. That's why people should use GPL instead of MIT/Apache kind of proprietary-permissive things imo. That's not a win-win situation here unfortunately.
But the whole point is that you're supposed to be able to use Linux distros for whatever you want. Microsoft should donate and contribute, sure, but not doing isn't grounds for Canonical saying you can't use our software.
@@Nikolai508 You are free to use, study or distribute the work, which is the foundation of all free software. But getting yEEEted in long term with tricks and locking more people down to proprietary software, not acceptable. This is not just some small company making profit there, this is Microsoft and we all know about it's policies.
Tryna do some automation on a website using python selenium on wsl...but the browser does not open when I run automation test using behave package...I found a way to do this with X server...is there a way to do it with out an Xserver?
Dear Microsoft, Thank you for your invitation to return to your operating. Unfortunately, on this occasion, your invitation has not been successful. Many thanks, A. Former User
Problem that Linux subsystem have is that influence negatively on graphical performance of a. host system, so it is not for gamers or people that relays heavy on graphic with they're work
WSL will never replace Linux for the simple reason that it is just a virtual machine and is very dependent on the latter. I've used WSL and it's just awful on my Ryzen 5 1600 + Radeon RX 580 machine. WSL performance is 50 times slower than if the machine had conditional Debian installed. The advantage of WSL 1 was that it was a Wine-like call translator and did not require virtualization support, but Microsoft, as usual, does everything through the ass and through crutches, killing good ideas. And I've never seen an educated system administrator or programmer actually use WSL instead of Linux. But I often hear from Windows fanboys (not regular Windows users, mind this): "WSL will beat Linux!", "Linux is no longer needed" and the like
I don't think its intended to "replace Linux or be better" Its simple for those that dual boot or work mostly on windows and sometimes need Linux to do specific tasks. I don't understand its "awful" on your system when I have a system that doesn't even have a graphics card and has a intel i5 650 working decently to do what i need it to do (software development). WSL isn't made to kill Linux. Also they still support WSL 1 (they never killed it) and you can configure just how many resources you can give to your Linux distros. So whilst you may not have seen a programmer use WSL I can very well assure you that lots of programmers use it. My entire team uses it.
@@krazymeanie What is the point for programmers to use it if conditional compilation of software takes much more time? I compared building GIMP under WSL and Linux as a host system - in WSL, the build took as much as... 4 hours! WSL is still virtualization, whatever one may say, and no matter how good it is, it will not reach the performance of the host system. Even KVM
@@karl_franz_emperor Like I said its no about it being better or faster than linux. Its for convenience, especially for those that use windows more than linux. Its not about which is faster or anything like that. People use stuff they're comfortable with whether you understand that or not. Its not always about speed. Its good, might be even better, than linux for those that are more comfortable with windows. I don't need to go install a whole new operating system(Linux) just to do software development on when my current os(windows) is working fine without problems. Yall need to learn to accept that there are people on this planet who just prefer windows. No matter how in love with linux you are, its never going to replace windows as the most common desktop/pc os on the planet.
@@krazymeanie We don't seem to have talked about whether Linux will replace Windows on home PCs. My original comment was about those who claim that WSL will replace Linux, although given that the former depends on the latter, this cannot happen. In software development, especially when debugging and compiling, performance is critical. WSL simply won't give me the performance that Linux as a host system will give me, because in the case of WSL, everything depends on how Windows works with hardware, plus virtualization performance. If you choose virtualization, in the case of Windows as the main OS, then I would choose VMware, not WSL. But what to choose - it's up to you, if WSL suits you - use it, no one minds 😉
@@karl_franz_emperor That's more appropriate answer, love to hear. Let people choose what's best for them. Ignore the fanboys. Their just passionate about the thing they love. Everyone is a fanboy of something. Wsl can't and never will replace linux indefinitely. But for some people it just might, that number being very small though.
What's the use of this hybrid ? It's something unnatural. Better install Linux alongside Windows. They can mess up. Same thing with Wine for LInux. I find both useless.
Remember Microsoft’s infamous “Embrace, Extend, Extinguish”? Which platform is being “Embraced” and “Extended” here? Linux? No, it’s Windows. So guess what happens next ... ?
yeah I think a VM has more capabilities...I'm on Linux for the security, customization and package management and bc sysadmin is easier on Linux, PowerShell Is a nightmare.
@@andresstreetpunk I am a full time Linux user for a year now I don't think VMs are gonna get you far my friend using VMs for linux cant go further than the bloated Garuda Linux and I have installed Arch, Gentoo, Artix, LFS literally a pro
@@thisisntmymainaccount7923 wait it is? But Kali Linux WSL has capabilities to merge the Kali linux xfce desktop with windows desktop known as the seamless edition
@Fernando Figueredo nope wsl2 is a highly optimised and really well integrated VM. Wsl1 was a compatibility layer that translated the native linux instructions into windows ones
Congrats, now you have an outdated distro inside a garbage OS.
you cant install debian and use debian sid repo inside wsl?
@@nabildanial00 I prefer dual boot.
@@_lun4r_ i think he's making fun of him
@@thisisntmymainaccount7923 i don't think it's that funny to deserve a pin tbh
@@_lun4r_ I do
Love this feature. Almost everyone on my dev team uses it at this point. Perfect solution for companies that require the window OS while also being able to do all our development work on Linux.
Ive been using this for a while now and honestly its the best of both worlds situation
This is very clearly a very nice blend of OS’s shows that Windows/Linux can be “friends”. Nice both communities worked on this to make it a success. Another proof to all of those that “hate” either OS, that most things are possible - especially if given an honest “try”. Thank you Sir. Very nice live demonstration.
Let's not forget that Satya Nadella was the cloud developer before being promoted as the CEO. He knows the value of Linux when it comes to cloud computing and servers. If Nadella's not here, we won't be having this kind of feature at all.
For those who don't know, this has been a thing since Windows 10 version 2004. It was in the turn on or off features section, and the distro choices were just Ubuntu and Kali Linux from the Microsoft Store. (For real)
you can tho use unofficial distros or convert containers to wsl and use other linuxes then
Btw, Windows 10 never existed in 2004, it wasn't even a thought at the time.
Read it as twenty zero four @@GA_games21
It still giggles my heart when WSL first existed not long after I left Linux for Windows. Yes, Linux may be free and open source, but I had enough dealing with all the hassles of it for daily computing. Since I moved to Windows, I really never compelled to go back to Linux as my primary desktop OS.
But credit where it's due, we all have to thank Satya Nadella. For someone like him who used to work as cloud developer before being the CEO of Microsoft, he knows the value of Linux for cloud computing and servers. If Nadella isn't here, we won't be getting this kind of feature at all.
@etherpecker Oh please, I know a lot of people who also left Linux for Windows because of compatibility problems. 🙃🙃
Really liked Henry's cameo! xD
This reminds me of something I've been meaning to look for, is there anything for Linux that's similar to Windows Subsystem for Android? It doesn't have to be exactly like WSA
We need the opposite direction 🐱
its called wine
actualy its more like virtualbox seamless mode.
@@BetaMaster2 Wine's cool... but something that integrates this well...
ewww why would we even need windows
@@nabildanial00 ewww definitely not tryna game on linux
we don't want linux apps in windows, we want all the windows apps for linux!!
Hear hear
same!
try out wine, it works on many more apps than you think.
No thanks, count me out. Linux apps still has a LOOONG way to be on par with Windows apps.
I had dual boot manjaro with windows for a long time and with WSL on windows 11 i barley log in in manjaro anymore tbh i can use everything i need in windows now 😅😅 having vscode that works on linux in windows was mind blowing
Can i just ask, do you think that distros arent really needed, when there is wsl in windows?
I appreciate your video so much! Short and concise.
If you guys haven't noticed it's the distro terminal (only terminal) that uses gpu
Not the wls and every linux app you install via terminal(distro) don't use either of gpus not even Intel or Amd integrated gpu that's why it's difficult to play vlc and other photo editing apps
Don't even think about playing linux games via wsl2
If you think about it, it's exactly what Microsoft wanted implement half-assed broken solution into their windows so you become less reliant on linux
Best solution is go back to vm like vmware which actually uses your Nvidia/Amd dedicated gpu
Thanks for the info! I would like to see more WSL content. . . 🐧
Thank you very much for this🤝
In the chapter starting at 2:13 the title is "Install Ubuntu" when in fact ubuntu was automatically installed with WSL (chapter 0:43), something that didn't happen in previous versions of WSL, you would have to install ubuntu or other distro after WSL was installed. It seems nowadays Microsoft is living a good relationship with Canonical.
You should consider looking into bedrock Linux, it in similar to WSL let's you run other gnu/Linux distros programs including GUI and CLI in pretty much any distro, like for example getting pacman and the AUR on a debian system, or accessing enterprise centos programs in a void install
wtf how do you use pacman and aur on debian lol thats arch specific
@@_lun4r_ it's how bedrock works, when you "hijack" something like ubuntu it turns in into a bedrock install and from there when you do "brl fetch arch" for example it installs the lastest minimal install of arch from the repos and puts in is own folder at /bedrock/strata/arch with all the required packaged for arch applications and from there you can natively run and arch package on ubuntu! It's quite neat. You can learn more at bedrock linux website(I am not going to put it so my comment is not removed,it is easy to find if you google)
So, where are those saying that Microsoft contributes to Linux world to move to linux-like kernel? Unfortunately, the domination of Windows is unshakable😔
That openSUSe on your ahoulder is so cute!
Amogus
thanks, i like the way you explain your stuff
Great video & Henry is awesome 😎 Wanted to relay that the "wsl --list --online" output is outdated and has to be fixed by Microsoft directly (we're in contact with them to do so). SUSE officially offers SLES, Leap, and Tumbleweed from the Microsoft Store.
I ended up installing Synaptic. Installing and maintening my linux from windows :P
Great video. Thanks.
Henry's wrecking havoc to your audio setup because he doesn't want you to use WSL.
This by definition is not native applications. WSL2 runs out of a VM, meaning the loading of an additional kernel and virtualized computer components. This would need to be loaded in a container-based compatibility layer to be considered native. And running Linux in a container on a Windows kernel would require emulation of Linux kernel calls into the windows kernel (This was how WSL1 did it) which has huge performance issues particularly with IO. So there is no way to run "native" Linux applications on Windows.
@Fernando Figueredo VMs are not native. Your virtualizing on top of hardware, not running directly on top of it. To be native, you would need to run directly on the host kernel and therefore have direct hardware access. Not a hypervisor splicing up your resources. And this is with WSL2. WSL1 ran in a container where the kernel calls where emulated.
WSL2 was a huge step up architecturally speaking because it didn't emulate kernel calls. But again this is just not native applications. It's virtualized applications.
The hypervisor has direct hardware access. The application calls into a guest kernel, which then in turn calls the hypervisor(In this case a subcomponent of the host kernel), which then gets direct hardware access. Nothing about that process is "native". A good solution to the compatibility problem, but not native.
I believe you are trying to say "running natively compiled Linux applications". Because this does allow you to run natively compiled Linux applications. It just doesn't let you do so natively on your machine, instead you run it in a virtual machine.
Thank You.
Brandon: Please show us a simple ubuntu desktop install. Many thanks for what you do!
sorry I did not get one thing. can I use linux apps like chrome or any other browser other than comman line?
I believe this is great in order to allow us to learn Linux before change to Linux. Simple as that.
thanks!
so if I use mangohud through linux I can use mangohud on windows games? using this? probably not just guessing
I need help on why my ubuntu on my windows terminal in my windows 10 pc is weird. Its weird because it has this pinkish colour background colour while also some commands (except htop) doesn't work.
On the topic, idk what was the deal with canonical but ms *at least* could give ms-office in exchange for all the ecosystem damn. We're just getting yEEEted here.
Just to add, That was Weston (look at the decorations) as I can see. That's why people should use GPL instead of MIT/Apache kind of proprietary-permissive things imo.
That's not a win-win situation here unfortunately.
But the whole point is that you're supposed to be able to use Linux distros for whatever you want. Microsoft should donate and contribute, sure, but not doing isn't grounds for Canonical saying you can't use our software.
@@Nikolai508 You are free to use, study or distribute the work, which is the foundation of all free software. But getting yEEEted in long term with tricks and locking more people down to proprietary software, not acceptable. This is not just some small company making profit there, this is Microsoft and we all know about it's policies.
Note, how can you tell a sponsor when were supposed to reboot our PC. XD
Tryna do some automation on a website using python selenium on wsl...but the browser does not open when I run automation test using behave package...I found a way to do this with X server...is there a way to do it with out an Xserver?
Talks about Windows 11, shows how to install Linux on it, but in secret prefers OpenSuse.
Unix devs install things to the Windows AppsData folder because they can't read.
Dear Microsoft,
Thank you for your invitation to return to your operating.
Unfortunately, on this occasion, your invitation has not been successful.
Many thanks,
A. Former User
on windows 10 has no X server?
"gedit
Unable to init server: Could not connect: Connection refused"
Can You Please Make Detailed Videos On Linux Screen Sharing (Ubuntu, Fedora)
- xrdp
- x11vnc
👻👻👻
Why microsoft did not create some kind emulator for linux instead like dosbox??
You can use Hyper-V for that, but be warned about performance loss as it relies on the main host hardware for virtualization.
Does Emacs work in WSL ?
Can we install WSL in Windows 10?
I don’t need to use any trashy Linux desktop anymore thanks to WSL2.
and if you say debian in the mirror 3 times you enter the matrix
Problem that Linux subsystem have is that influence negatively on graphical performance of a. host system, so it is not for gamers or people that relays heavy on graphic with they're work
Shutting down distro's should solve that problem. There are also configs when you can configure the amount of system resource linux uses
@@krazymeanie Yes wsl --shutdown do the trick. And starting again just is like 5 to 10 seconds so its not a big deal.
WSL will never replace Linux for the simple reason that it is just a virtual machine and is very dependent on the latter. I've used WSL and it's just awful on my Ryzen 5 1600 + Radeon RX 580 machine. WSL performance is 50 times slower than if the machine had conditional Debian installed. The advantage of WSL 1 was that it was a Wine-like call translator and did not require virtualization support, but Microsoft, as usual, does everything through the ass and through crutches, killing good ideas. And I've never seen an educated system administrator or programmer actually use WSL instead of Linux. But I often hear from Windows fanboys (not regular Windows users, mind this): "WSL will beat Linux!", "Linux is no longer needed" and the like
I don't think its intended to "replace Linux or be better" Its simple for those that dual boot or work mostly on windows and sometimes need Linux to do specific tasks. I don't understand its "awful" on your system when I have a system that doesn't even have a graphics card and has a intel i5 650 working decently to do what i need it to do (software development). WSL isn't made to kill Linux. Also they still support WSL 1 (they never killed it) and you can configure just how many resources you can give to your Linux distros. So whilst you may not have seen a programmer use WSL I can very well assure you that lots of programmers use it. My entire team uses it.
@@krazymeanie What is the point for programmers to use it if conditional compilation of software takes much more time? I compared building GIMP under WSL and Linux as a host system - in WSL, the build took as much as... 4 hours! WSL is still virtualization, whatever one may say, and no matter how good it is, it will not reach the performance of the host system. Even KVM
@@karl_franz_emperor Like I said its no about it being better or faster than linux. Its for convenience, especially for those that use windows more than linux. Its not about which is faster or anything like that. People use stuff they're comfortable with whether you understand that or not. Its not always about speed. Its good, might be even better, than linux for those that are more comfortable with windows. I don't need to go install a whole new operating system(Linux) just to do software development on when my current os(windows) is working fine without problems. Yall need to learn to accept that there are people on this planet who just prefer windows. No matter how in love with linux you are, its never going to replace windows as the most common desktop/pc os on the planet.
@@krazymeanie We don't seem to have talked about whether Linux will replace Windows on home PCs. My original comment was about those who claim that WSL will replace Linux, although given that the former depends on the latter, this cannot happen. In software development, especially when debugging and compiling, performance is critical. WSL simply won't give me the performance that Linux as a host system will give me, because in the case of WSL, everything depends on how Windows works with hardware, plus virtualization performance. If you choose virtualization, in the case of Windows as the main OS, then I would choose VMware, not WSL. But what to choose - it's up to you, if WSL suits you - use it, no one minds 😉
@@karl_franz_emperor That's more appropriate answer, love to hear. Let people choose what's best for them. Ignore the fanboys. Their just passionate about the thing they love. Everyone is a fanboy of something. Wsl can't and never will replace linux indefinitely. But for some people it just might, that number being very small though.
Who else puts a strong and long password
Henry ... Or Suse ?
What happens if you install a terminal emulator like konsole and run it from WSL 🤔
How to completely uninstall if something goes wrong?
just unregister the wsl and uninstall the distro app
Well done I tried to do that last year but started throwing up @ having Windoze on my system and aborted.
flatpak doesn't work tho
What's the use of this hybrid ? It's something unnatural. Better install Linux alongside Windows. They can mess up. Same thing with Wine for LInux. I find both useless.
Wait, that's illegal
MAN 😱 why do you have a lizard
Yes… a safe place inside virus hell!
Remember Microsoft’s infamous “Embrace, Extend, Extinguish”? Which platform is being “Embraced” and “Extended” here? Linux?
No, it’s Windows. So guess what happens next ... ?
Well it has no use better is to just use a vm or dualboot
yeah I think a VM has more capabilities...I'm on Linux for the security, customization and package management and bc sysadmin is easier on Linux, PowerShell Is a nightmare.
@@andresstreetpunk wsl 2 is literally a VM
@@andresstreetpunk I am a full time Linux user for a year now I don't think VMs are gonna get you far my friend using VMs for linux cant go further than the bloated Garuda Linux and I have installed Arch, Gentoo, Artix, LFS literally a pro
@@thisisntmymainaccount7923 wait it is? But Kali Linux WSL has capabilities to merge the Kali linux xfce desktop with windows desktop known as the seamless edition
@Fernando Figueredo nope wsl2 is a highly optimised and really well integrated VM. Wsl1 was a compatibility layer that translated the native linux instructions into windows ones
Lizard Squad lolz
First Like