Linux Apps in Windows! - WSL Setup Guide

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 135

  • @CDMS_pt
    @CDMS_pt 2 роки тому +137

    Congrats, now you have an outdated distro inside a garbage OS.

    • @nabildanial00
      @nabildanial00 2 роки тому +6

      you cant install debian and use debian sid repo inside wsl?

    • @CDMS_pt
      @CDMS_pt 2 роки тому +4

      @@nabildanial00 I prefer dual boot.

    • @thisisntmymainaccount7923
      @thisisntmymainaccount7923 2 роки тому +3

      @@_lun4r_ i think he's making fun of him

    • @_lun4r_
      @_lun4r_ 2 роки тому +4

      @@thisisntmymainaccount7923 i don't think it's that funny to deserve a pin tbh

    • @TechHut
      @TechHut  2 роки тому +20

      @@_lun4r_ I do

  • @you_can_just_do_things
    @you_can_just_do_things 2 роки тому +15

    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.

  • @muhammadazeem1346
    @muhammadazeem1346 2 роки тому +7

    Ive been using this for a while now and honestly its the best of both worlds situation

  • @Mandalorian5174
    @Mandalorian5174 2 роки тому +5

    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.

    • @farishanafiah8461
      @farishanafiah8461 Рік тому +1

      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.

  • @binku09
    @binku09 2 роки тому +12

    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)

    • @_lun4r_
      @_lun4r_ 2 роки тому

      you can tho use unofficial distros or convert containers to wsl and use other linuxes then

    • @GA_games21
      @GA_games21 3 місяці тому

      Btw, Windows 10 never existed in 2004, it wasn't even a thought at the time.

    • @JohnColgan.
      @JohnColgan. 2 місяці тому

      Read it as twenty zero four ​@@GA_games21

  • @farishanafiah8461
    @farishanafiah8461 Рік тому +2

    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.

    • @farishanafiah8461
      @farishanafiah8461 10 місяців тому

      @etherpecker Oh please, I know a lot of people who also left Linux for Windows because of compatibility problems. 🙃🙃

  • @imranzahidmiko
    @imranzahidmiko 2 роки тому +5

    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

  • @grkantrker
    @grkantrker 2 роки тому +21

    We need the opposite direction 🐱

    • @BetaMaster2
      @BetaMaster2 2 роки тому +7

      its called wine

    • @rizkyadiyanto7922
      @rizkyadiyanto7922 2 роки тому +1

      actualy its more like virtualbox seamless mode.

    • @roccociccone597
      @roccociccone597 2 роки тому +1

      @@BetaMaster2 Wine's cool... but something that integrates this well...

    • @nabildanial00
      @nabildanial00 2 роки тому

      ewww why would we even need windows

    • @krazymeanie
      @krazymeanie 2 роки тому +4

      @@nabildanial00 ewww definitely not tryna game on linux

  • @kabirycreator
    @kabirycreator 2 роки тому +33

    we don't want linux apps in windows, we want all the windows apps for linux!!

    • @bootlessxfly1
      @bootlessxfly1 2 роки тому +4

      Hear hear

    • @cindrmon
      @cindrmon 2 роки тому +1

      same!

    • @doge7831
      @doge7831 2 роки тому +3

      try out wine, it works on many more apps than you think.

    • @farishanafiah8461
      @farishanafiah8461 Рік тому

      No thanks, count me out. Linux apps still has a LOOONG way to be on par with Windows apps.

  • @Pouya..
    @Pouya.. Рік тому +1

    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

    • @JondyGems
      @JondyGems 13 днів тому

      Can i just ask, do you think that distros arent really needed, when there is wsl in windows?

  • @miqueasgamero7270
    @miqueasgamero7270 Рік тому

    I appreciate your video so much! Short and concise.

  • @urandurparthu1526
    @urandurparthu1526 Рік тому

    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

  • @davida757
    @davida757 2 роки тому

    Thanks for the info! I would like to see more WSL content. . . 🐧

  • @isharaperera0629
    @isharaperera0629 5 місяців тому +1

    Thank you very much for this🤝

  • @agostinhomatos321
    @agostinhomatos321 10 місяців тому

    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.

  • @spaceguybob
    @spaceguybob 2 роки тому +3

    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_
      @_lun4r_ 2 роки тому +3

      wtf how do you use pacman and aur on debian lol thats arch specific

    • @spaceguybob
      @spaceguybob 2 роки тому +1

      @@_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)

  • @mtpolak
    @mtpolak 2 роки тому +3

    So, where are those saying that Microsoft contributes to Linux world to move to linux-like kernel? Unfortunately, the domination of Windows is unshakable😔

  • @gamerking64
    @gamerking64 2 роки тому +11

    That openSUSe on your ahoulder is so cute!

  • @mortyk182
    @mortyk182 2 роки тому

    thanks, i like the way you explain your stuff

  • @scottbradnick
    @scottbradnick 2 роки тому

    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.

  • @AlbandAquino
    @AlbandAquino 2 роки тому

    I ended up installing Synaptic. Installing and maintening my linux from windows :P

  • @fermatdad
    @fermatdad Рік тому

    Great video. Thanks.

  • @fawzanfawzi9993
    @fawzanfawzi9993 2 роки тому

    Henry's wrecking havoc to your audio setup because he doesn't want you to use WSL.

  • @bootlessxfly1
    @bootlessxfly1 2 роки тому +1

    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.

    • @bootlessxfly1
      @bootlessxfly1 2 роки тому +2

      @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.

  • @BrendanFinnstrom
    @BrendanFinnstrom Рік тому

    Thank You.

  • @michaelpoole3675
    @michaelpoole3675 2 роки тому

    Brandon: Please show us a simple ubuntu desktop install. Many thanks for what you do!

  • @myt1372
    @myt1372 28 днів тому

    sorry I did not get one thing. can I use linux apps like chrome or any other browser other than comman line?

  • @maurolimaok
    @maurolimaok Рік тому +1

    I believe this is great in order to allow us to learn Linux before change to Linux. Simple as that.

  • @Mrjcampelo
    @Mrjcampelo 2 роки тому

    thanks!

  • @Void.e
    @Void.e 2 роки тому

    so if I use mangohud through linux I can use mangohud on windows games? using this? probably not just guessing

  • @fawazgerhard2742
    @fawazgerhard2742 9 місяців тому

    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.

  • @Beryesa.
    @Beryesa. 2 роки тому +5

    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.

    • @Nikolai508
      @Nikolai508 2 роки тому

      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.

    • @Beryesa.
      @Beryesa. 2 роки тому

      @@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.

  • @JondyGems
    @JondyGems 13 днів тому

    Note, how can you tell a sponsor when were supposed to reboot our PC. XD

  • @tkaesthetics
    @tkaesthetics Рік тому

    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?

  • @maxflair3946
    @maxflair3946 2 роки тому

    Talks about Windows 11, shows how to install Linux on it, but in secret prefers OpenSuse.

  • @chaosordeal294
    @chaosordeal294 7 місяців тому +1

    Unix devs install things to the Windows AppsData folder because they can't read.

  • @redacted629
    @redacted629 2 роки тому +1

    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

  • @hipot
    @hipot 2 роки тому

    on windows 10 has no X server?
    "gedit
    Unable to init server: Could not connect: Connection refused"

  • @garrysingh4484
    @garrysingh4484 2 роки тому +1

    Can You Please Make Detailed Videos On Linux Screen Sharing (Ubuntu, Fedora)
    - xrdp
    - x11vnc
    👻👻👻

  • @noertri618
    @noertri618 Рік тому

    Why microsoft did not create some kind emulator for linux instead like dosbox??

    • @farishanafiah8461
      @farishanafiah8461 Рік тому

      You can use Hyper-V for that, but be warned about performance loss as it relies on the main host hardware for virtualization.

  • @solracesoj6594
    @solracesoj6594 2 роки тому

    Does Emacs work in WSL ?

  • @therajatshahare
    @therajatshahare Рік тому

    Can we install WSL in Windows 10?

  • @belvedere416
    @belvedere416 2 роки тому +2

    I don’t need to use any trashy Linux desktop anymore thanks to WSL2.

  • @tjwreds1
    @tjwreds1 3 місяці тому

    and if you say debian in the mirror 3 times you enter the matrix

  • @srdjanstevanovic3543
    @srdjanstevanovic3543 2 роки тому +1

    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

    • @krazymeanie
      @krazymeanie 2 роки тому +1

      Shutting down distro's should solve that problem. There are also configs when you can configure the amount of system resource linux uses

    • @andresstreetpunk
      @andresstreetpunk 2 роки тому +1

      @@krazymeanie Yes wsl --shutdown do the trick. And starting again just is like 5 to 10 seconds so its not a big deal.

  • @karl_franz_emperor
    @karl_franz_emperor 2 роки тому

    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

    • @krazymeanie
      @krazymeanie 2 роки тому

      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.

    • @karl_franz_emperor
      @karl_franz_emperor 2 роки тому

      @@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

    • @krazymeanie
      @krazymeanie 2 роки тому

      @@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.

    • @karl_franz_emperor
      @karl_franz_emperor 2 роки тому

      @@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 😉

    • @krazymeanie
      @krazymeanie 2 роки тому

      @@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.

  • @vrashabhsontakke7282
    @vrashabhsontakke7282 2 роки тому +1

    Who else puts a strong and long password

  • @karelvanderwalt3625
    @karelvanderwalt3625 Рік тому

    Henry ... Or Suse ?

  • @metalspoon69
    @metalspoon69 2 роки тому +1

    What happens if you install a terminal emulator like konsole and run it from WSL 🤔

  • @pratheekshetty
    @pratheekshetty 2 роки тому

    How to completely uninstall if something goes wrong?

    • @phamat4640
      @phamat4640 2 роки тому +1

      just unregister the wsl and uninstall the distro app

  • @MrWarneet
    @MrWarneet 2 роки тому

    Well done I tried to do that last year but started throwing up @ having Windoze on my system and aborted.

  • @hamzabarbara6427
    @hamzabarbara6427 2 роки тому

    flatpak doesn't work tho

  • @kbg5294
    @kbg5294 2 роки тому

    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.

  • @annoyinggasta
    @annoyinggasta 2 роки тому

    Wait, that's illegal

  • @deanz_443
    @deanz_443 2 роки тому

    MAN 😱 why do you have a lizard

  • @stephenridgway2720
    @stephenridgway2720 2 роки тому

    Yes… a safe place inside virus hell!

  • @lawrencedoliveiro9104
    @lawrencedoliveiro9104 2 роки тому

    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 ... ?

  • @rudraveermandal3474
    @rudraveermandal3474 2 роки тому +1

    Well it has no use better is to just use a vm or dualboot

    • @andresstreetpunk
      @andresstreetpunk 2 роки тому

      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.

    • @thisisntmymainaccount7923
      @thisisntmymainaccount7923 2 роки тому

      @@andresstreetpunk wsl 2 is literally a VM

    • @rudraveermandal3474
      @rudraveermandal3474 2 роки тому

      @@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

    • @rudraveermandal3474
      @rudraveermandal3474 2 роки тому

      @@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

    • @thisisntmymainaccount7923
      @thisisntmymainaccount7923 2 роки тому

      @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

  • @chrisbitus1328
    @chrisbitus1328 2 роки тому

    Lizard Squad lolz

  • @LexiLominite
    @LexiLominite 2 роки тому

    First Like