WSL 2: Getting started

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 939

  • @Pranjal-AI
    @Pranjal-AI 4 года назад +193

    What a nice guy! Goes over every thing step by step like a passionate and sincere teacher.

  • @wassimmefteh401
    @wassimmefteh401 4 года назад +128

    there's a big difference from learning from a professional and from a random kid doing weird stuffs in a 2 hours video tutorial, thanks man, you are the best

  • @davidbombal
    @davidbombal  4 года назад +134

    Menu:
    Overview: 0:00
    Requirements: 1:19
    Enable WSL 2: 2:36
    Download Ubuntu 20.04 LTS: 3:48
    Fix Error: WSL 2 requires a kernel component: 4:36
    Start Ubuntu on Windows 10: 6:46
    PowerShell Commands: 6:58
    Download Ubuntu 18.04 LTS: 8:24
    Run two versions of Ubunbu: 10:52
    Use VMware Workstation Player and Virtual Box with WSL2: 12:59
    Visual Studio Code, Python and Linux integration: 15:47
    Connect to a Cisco switch using Python on WSL2: 19:00
    Good Links:
    What is WSL? docs.microsoft.com/en-us/windows/wsl/about
    WSL documentation: docs.microsoft.com/en-us/windows/wsl/
    WSL 2 Announcement: devblogs.microsoft.com/commandline/announcing-wsl-2/

    • @ibal3616
      @ibal3616 4 года назад

      There will be no Linux version of WSL? @davidbombal

    • @davidbombal
      @davidbombal  4 года назад +2

      No need to use WSL if you have Linux natively. If you want to run Linux within Linux you could use Docker, or KVM or VMware workstation for example.

    • @samuelmatheson9655
      @samuelmatheson9655 4 года назад

      Thank you

  • @luigivampabbcw5172
    @luigivampabbcw5172 4 года назад +12

    Thank you so much, i was looking about WSL on differents french channels. But i haven't find videos like yours. Everything is explained. You are a great teacher !

  • @justicepeltier9001
    @justicepeltier9001 4 года назад +16

    Absolutely fantastic WSL2 tutorial! Recently discovered how unpleasant development on Windows could be and was told to try out WSL2. I was extremely intimidated by Linux but your video absolutely proved my nerves were for nothing. Looking forward to digging through the rest of your videos!

    • @davidbombal
      @davidbombal  4 года назад +1

      Glad it helped! Thank you for sharing :)

  • @juanpcc5892
    @juanpcc5892 4 года назад +18

    Your videos make me get into a CCNA certification that i drop out many years ago, im not native english speaker, but your accent make your videos instructions very clear, so i keep improving my english and my networks knowledge

    • @davidbombal
      @davidbombal  4 года назад +1

      Thank you! I'm really happy to hear that :) Please keep on learning.

  • @bap9394
    @bap9394 4 года назад +421

    Linux running on Windows using a Apple keyboard 👌

    • @davidbombal
      @davidbombal  4 года назад +32

      Thanks!

    • @KaushalBeladiya
      @KaushalBeladiya 4 года назад +16

      combination is great actually!

    • @samuelmatheson9655
      @samuelmatheson9655 4 года назад +4

      Now all we need is Linux in windows in bootcamp

    • @caionakai3134
      @caionakai3134 4 года назад +12

      he was running a windows on mac and a linux on windows lol

    • @neiltaylor513
      @neiltaylor513 4 года назад +1

      Hate the modern apple keyboards, give me the old Quadra ones with the power button, could give them a good bash when typing.

  • @ryanwolf2558
    @ryanwolf2558 4 года назад +22

    So easy to setup, other tutorials were doing weird things, thanks for this

  • @antonurmensch4090
    @antonurmensch4090 4 года назад +8

    As a stone ager, I was just fascinated by seeing this guy named "Ballmer" on your show. He's looking just like our fellow Urrgh who once fought so bravely against the other tribe when they tried to capture the Great Water Pond. He fell into the water and drowned. Poor Urrgh.

  • @CodeWarrior01
    @CodeWarrior01 3 года назад +1

    Great guide. Your extended comments about version checking saved me. The only thing you needed to add was a comment about possibly needing to enable virtualization in BIOS, which is what i needed to do. I got an error when I tried to install after setting to v2. Most people might get lost, but I've been doing this for >30 years, so I just found the setting in my BIOS under CPU config and all went well. Many thanks

  • @WifiNigel
    @WifiNigel 4 года назад +4

    I've been waiting for my Windows laptop to upgrade to 2004 since you posted this video a few weeks back. It finally updated today so the first thing I did was install WSL2 & Ubuntu as per your instructions :) Thanks so much for this video! The integration with WSL2/Ubuntu/VSC is amazing - this is going to be so useful for me. Thanks David, I love your content.

    • @davidbombal
      @davidbombal  4 года назад +2

      Really happy to hear that - glad I could help!

  • @oldmansaturn972
    @oldmansaturn972 4 года назад

    I just sorted through almost a dozen WSL 2 tutorials. None of them were as clear and concise as yours, nor as helpful. Thank you.

  • @reedlinares
    @reedlinares 4 года назад +5

    As usual, great video, Dave. Quick update. I just completed my installation of Ubuntu and it did not require the update. All is working as expected. Thanks for such excellent content!

    • @davidbombal
      @davidbombal  4 года назад +1

      Thank you. Great to hear that James!

  • @ms365developer3
    @ms365developer3 4 года назад +2

    Just installed WSL 2 in my Win10 home by following your crisp and crystal clear instructions. Was waiting a lot for this upgrade. Thanks a lot.

  • @Reforitor
    @Reforitor 4 года назад +11

    I love the way he wished us very best in the end.

    • @davidbombal
      @davidbombal  4 года назад +5

      Glad you liked that. And I do mean it. :)

  • @AlexandreSantos0
    @AlexandreSantos0 6 месяцев назад +1

    Clear, concise, knowledgeable. You've achieved mastery.

  • @muhammadamirulsamsulbahar2544
    @muhammadamirulsamsulbahar2544 3 года назад +6

    The instructions are very clear, I really love this tutorial. Thanks!

  • @brianhansen8876
    @brianhansen8876 3 года назад

    Thank you VERY much, David. You are the first person on RUclips to show all small details how to get this Ubuntu-Docker stuff running i perfect harmony (on a Win 10). Thanx again!!! You truly saved my day. Best regards from Denmark

  • @akshaysb526
    @akshaysb526 3 года назад +3

    yes,this man knows how each line of code works.

  • @kracksmith4ejm1
    @kracksmith4ejm1 8 месяцев назад

    super nice to go over every options and what's nice is, David goes over the error or what's needed to continue the accomplishment.

  • @TJKhara
    @TJKhara 4 года назад +4

    Great video David. Thank you for the detailed introduction to wsl 2. Just installed it and really exited about putting it to some good use.

  • @haciendadad
    @haciendadad 2 года назад

    VERY thorough demonstration!! He didn't cut any corners and I like that he even ran into an error on the install and showed how to fix it quickly and easily! I just started a new job and they only offer Windows machines, I am really happy I saw this video today because I am doing this on my work computer. Who knows, a Windows machine may be in my future? .... naw. :-)

  • @tigerfanxiao
    @tigerfanxiao 4 года назад +6

    The best tutorial in the RUclips as always! Thanks a lot David.

    • @davidbombal
      @davidbombal  4 года назад +1

      Thank you!

    • @brandonphilander661
      @brandonphilander661 4 года назад +2

      @@davidbombal So you're running Linux in a virtual machine on Windows 10, could you then virtualize another OS in Linux?

    • @davidbombal
      @davidbombal  4 года назад +2

      @@brandonphilander661 Yes. I'll demonstrate this using Docker :)

    • @brandonphilander661
      @brandonphilander661 4 года назад

      @@davidbombal Thank you.

  • @ahmedsalman3294
    @ahmedsalman3294 4 года назад

    I was struggling with Virtual Box to install Ubuntu, but never knew the solution is under my nose. Thanks for the video, you are a life saver. I must appreciate you.

  • @josethemacho
    @josethemacho 4 года назад +45

    Running Linux over Windows on a Mac... Savage!

    • @davidbombal
      @davidbombal  4 года назад +2

      lol... don't want to limit myself to only one OS :)

  • @datag1199
    @datag1199 Год назад

    Thank you so much! Extremely helpful. Was setting a computer up at home for a family member, and hit the Ubuntu error (needed to visit BIOS and enable Virtualization) and that did the trick. Great page!

  • @juancarlosgonzalez4161
    @juancarlosgonzalez4161 4 года назад +7

    Very handy, thank you!
    While installing WSL you may get an error 0x80370102. In such a case, you should look at your BIOS and check the virtualization features are turned on.

  • @TiagoSilva4171
    @TiagoSilva4171 4 года назад +1

    Thank you for showing what we can do with WSL2 in simple e concise way.

  • @alyfraga9923
    @alyfraga9923 4 года назад +14

    I already had this installed, another great video, thank you!!!
    I have a dual boot on my laptop. I realize that gns3 runs better for me in Linux.

    • @davidbombal
      @davidbombal  4 года назад +6

      Thank you Aly. Agreed - for ultimate performance, GNS3 works best on native Linux.

  • @SteveBoyes-j3i
    @SteveBoyes-j3i Год назад

    This was a definite help. I now have WSL2 running Ubuntu 20.04.06 on my windows laptop. It is refreshing to get clear concise instructions. Thank you.

  • @umairm8595
    @umairm8595 4 года назад +4

    Thank you David really appreciate this it's very helpful in troubleshooting, in the previous version you cant run WSL as well as vmware together

    • @davidbombal
      @davidbombal  4 года назад +4

      Agreed. This version is better, but you can still not run nested virtualization 😔 For others that are interested, I demonstrate and explain this issue at 12:59 in the video.

    • @kielmoreland7704
      @kielmoreland7704 4 года назад +1

      @@davidbombal I, too, ran into a problem running WSL version 2 and VMWare Workstation Pro. I ran into the issue when I tried to fire up my GNS3 VM after upgrading my WSL from version 1 to version 2, and I'm pretty sure that the issue is due to enabling "Virtual Machine Platform," and based on your comments here. Unfortunately, I had to revert my WSL to version 1 and disable "Virtual Machine Platform" in order for my GNS3 VM to run properly. Here is a document I created showing what happened (maybe it might be helpful):
      app.box.com/s/wel5mx5tppkcpw38axwmjnzj52zhur4g
      Regardless, WSL does work and it's great; I've been using it to learn how to automate my home lab based on your Udemy network automation course.

    • @davidbombal
      @davidbombal  4 года назад +2

      @@kielmoreland7704 Great share! And thank you. Also see here: blogs.vmware.com/workstation/2020/01/vmware-workstation-tech-preview-20h1.html and here: docs.microsoft.com/en-us/windows/wsl/wsl2-faq

    • @ciscomoto
      @ciscomoto 4 года назад

      So are there plans to tackle the 'nested' VMWare Workstation / WSL issues - it is a fairly restrictive issue given that a lot of people had created such environments and now find themselves having to hack & switch around their system to get over these issues?

  • @murats5863
    @murats5863 Год назад

    I very much appreciate your clear explanation and the time you spend to dive deep into things, even if they seem easy.
    Thank you!

  • @wonerkang4034
    @wonerkang4034 4 года назад +3

    Thanks David, Very Cool! I just want to study Linux. .

    • @davidbombal
      @davidbombal  4 года назад +1

      Linux is great. Definitely worth learning.

  • @parameswarb8717
    @parameswarb8717 2 года назад

    I am so impressed with your teaching style.
    Seems you are a excellent professor
    Students are so lucky if you are a professor

  • @ambarsanghi
    @ambarsanghi 4 года назад +4

    Thanks David, I am definitely gonna work on this.🙂

    • @davidbombal
      @davidbombal  4 года назад

      Thank you Ambar. It's a nice easy way to get started :)

  • @Chunda8
    @Chunda8 Год назад

    Thanks for this David, I have been trying unsuccesfully for a long time to get any Unix distro to dual boot with Windows, this is much better. I followed your method carefully and it worked! This will be handy as I am trying to get into cybersecurity and have wanted to learn Unix for a long time. Subbed.

  • @joeljosephpaul9269
    @joeljosephpaul9269 4 года назад +3

    Love your voice!!!

  • @home-uf3tg
    @home-uf3tg 4 года назад

    I can't deny that I impressed. Windows 10 is getting better and better and Linux integration is awesome. It will save a lot of time for me to start a new project on my home computer. Cool video and tidy explanation

  • @KangJangkrik
    @KangJangkrik 4 года назад +7

    FYI, Steve Ballmer is fired. That's why microsoft change a lot

  • @olloffdenuyschen4233
    @olloffdenuyschen4233 4 года назад

    David Bombal, THE MAN!!! 😎Thanks for all your videos. Do not stop. 👏

  • @EyeIn_The_Sky
    @EyeIn_The_Sky 4 года назад +9

    Thanks again, David! Also, you might find this useful. I just installed Windows Terminal (from the MS store). So much easier to use and has drop-down to choose which VM you want to use and puts them in Tabs!! So you can have PowerShell open in one tab, Ubuntu in anther and move between them easily. (I think you might be able to change the colour schemes on the terminals as well.
    ruclips.net/video/8gw0rXPMMPE/видео.html&app=desktop
    devblogs.microsoft.com/commandline/introducing-windows-terminal/

  • @Flora-ec4qz
    @Flora-ec4qz 2 года назад

    Thank you so much for the video, this is amazing I got linux running on my laptop within 30 mins....dual boot /VM had me dying for at least a week to make it work, this is truly amazing!

  • @anirbellahcen5551
    @anirbellahcen5551 Год назад

    I am very let for bed time but I have to write this to say Thank you Sir, You have helped me so much. keep good work up.

  • @paritoshgavali
    @paritoshgavali 4 года назад +1

    This is the best tutorial for installing wsl 2 in windows 10 2004 👌👌

  • @priyabratdash2629
    @priyabratdash2629 3 года назад

    I have been searching this for the last 6 months and somehow your video pops in on the list of recommendations. I guess i am lucky. Thanks a lot, man👍

  • @andrewgreen1970
    @andrewgreen1970 Год назад

    Went off without a hitch. Thank you.
    Loving your fat-free style. Keep that going.

  • @alexperea6604
    @alexperea6604 4 года назад

    Thank you sir, I've been always hesitant to do my development work on windows, now I'm transitiong from mac OS to windows thanks to you and this great feature.

  • @sumitsingh3534
    @sumitsingh3534 3 года назад

    Thank You David. You have made things so much easier. Wonderfully explained.

  • @hariprasadoo
    @hariprasadoo 2 года назад

    Thank you so much! Absolutely best WSL2 tutorial!!!

  • @dougdecoursin9919
    @dougdecoursin9919 4 года назад +2

    Well done David - thank you for taking the time to help others!

    • @davidbombal
      @davidbombal  4 года назад

      Thank you Doug! Glad the video helped you :)

  • @sanjeevpenupala
    @sanjeevpenupala 4 года назад

    A really awesome video, especially covering a use case for WSL at the end of the video. Cheers man!

  • @JawwadHafeez
    @JawwadHafeez 8 месяцев назад

    Amazing competence and presentation.
    Impressive ...
    Thanks for sharing

  • @davidramsay9321
    @davidramsay9321 4 года назад

    Thanks, I am now all up and running with wsl2 using Ubuntu20.04.
    I did the sudo apt install build-essential to get gcc and compiled my
    1st ever Linux app under Windows WSL2 and it worked. WOW..

    • @davidramsay9321
      @davidramsay9321 4 года назад

      Oh yeah, tight integration, I compliled an app using windows CODE::BLOCKS targeted for linux
      and ran it using WSL and that also worked, then set CODE::BLOCKS target to windows MinGW.
      So now we have Ubuntu20.04 Desktop + Linux wine to run windows apps and
      Windows10 + WSL2 to run linux apps. This is sooo cool!!

  • @AlbrechtJ
    @AlbrechtJ 2 года назад

    Thanks David for this excellent tutorial. You are a good teacher.

  • @otenet70
    @otenet70 4 года назад

    David Bombal the No.1 source in educational field!!

  • @bruceliu9808
    @bruceliu9808 3 года назад

    Thank you so much for getting me started with Ubuntu and Linux!

  • @lyleclassen4698
    @lyleclassen4698 3 года назад

    Was following along then realised im also doing this on a VivoBook extra useful. Thanks

  • @UdithaMelanMahindarathna
    @UdithaMelanMahindarathna 4 года назад

    Thanks for a step by step clean tutorial. I was not comfortable to use WSL, but after this video i really understood. This will help me to write code on linux and also work on the adobe suite at the same time. No need to dualboot and change the OS. Now Adobe deosnt have to waste resources to build for Linux.. lol. Thanks again for the lovely video, the only thing that bugged me was the side in which u have the mouse .. it was something off .. lol😂😂😂

  • @captvashu8142
    @captvashu8142 8 месяцев назад

    you made me overcome my fairr of installation of linux

  • @naomiibe6348
    @naomiibe6348 Год назад

    Thank you very much for this
    Thanks to this video I successfully installed wsl2 today on my system😊

  • @robertocarlosronaldo
    @robertocarlosronaldo 4 года назад +1

    Penjelasan yang rinci dan sangat mudah dicerna... salam hormat dari Indonesia :)

  • @TomcatGoesBr
    @TomcatGoesBr 4 года назад

    unpouplar story : this tutorial is a gem

  • @buildfrom
    @buildfrom 4 года назад

    Fascinating. Very well put together explanation of WSL.

  • @geoffreyhibon2651
    @geoffreyhibon2651 2 года назад

    Amazing Video ... Very professional and clear!!! Thanks

  • @mrmuranga
    @mrmuranga 4 года назад

    well explained.. especially the part of toggling btwn wsl1 and wsl2 ..thanks I enjoy your tutorials emmensely...

    • @davidbombal
      @davidbombal  4 года назад

      You are welcome and thank you!

  • @lucaterraneo7274
    @lucaterraneo7274 Год назад

    Very nice video! Thank you very much, it's been a long time since I first wanted to install WSL2 on my windows10 home.. :)

  • @ldx8492
    @ldx8492 4 года назад

    Your videos are spectacularly clear, very well done!

  • @alexisrs127
    @alexisrs127 3 года назад

    Great tutorial, very well explained and nice structure. I am glad to suscribe to the channel.

  • @AbhishekNigam
    @AbhishekNigam 4 года назад

    Very comprehensive info on WSL2. Thanks for the video!

  • @jamesdietsch7868
    @jamesdietsch7868 4 года назад

    Another great video here David! Been using wsl for sometime now and its awesome! Especially using the new windows terminal as well :)

  • @viaualexis27
    @viaualexis27 2 года назад

    thx a lot David! helped setup WSL 2 on my laptop for some linux actions

  • @SZU1881
    @SZU1881 Месяц назад

    Very nice video! Thanks for sharing, helped a lot!

  • @zachsandvik1867
    @zachsandvik1867 4 года назад

    David, thank you for your tutorial. Top notch!

  • @becs-ps1bb
    @becs-ps1bb Год назад

    You are a god bless. Thank Mr Bombal.

  • @zoltansepsy6937
    @zoltansepsy6937 4 года назад

    Thanks for the great intro! Sorry for the offtopic but what kind of chair are you sitting on? Looks amazing!

  • @mohamedhaneef6379
    @mohamedhaneef6379 4 года назад +1

    Thank you David!. I have a new laptop, still getting this message 'The Windows 10 May 2020 Update is on its way. We’re offering this update to compatible devices, but your device isn’t quite ready for it. Once your device is ready, you’ll see the update available on this page. There’s nothing you need to do at this time.'

    • @davidbombal
      @davidbombal  4 года назад +1

      Yes. Because of issues with 2004, Microsoft have changed the way it is published. You will need to install this manually. See here: blogs.windows.com/windowsexperience/2020/05/27/how-to-get-the-windows-10-may-2020-update/ and www.microsoft.com/en-us/software-download/windows10ISO

  • @shreeramyadav837
    @shreeramyadav837 4 года назад

    Your channel intro video is superb!! 😍🤩 , Plus the video was very much informative.

  • @Yousifalzoubi
    @Yousifalzoubi 4 года назад

    Well explained!, big thanks from Kuwait

  • @mav3783
    @mav3783 10 месяцев назад

    I can brush up on linux now, when im on the go, traveling just installed on my laptop 🤩

  • @Ahmed-AWS
    @Ahmed-AWS Год назад

    The step by step is amazing

  • @rahulxcr
    @rahulxcr 2 года назад

    Thanks, that was simple and very informative. This helped a lot.

  • @EoeSantinny
    @EoeSantinny Год назад +1

    you the man! thank you so much!

  • @claudiobrt652
    @claudiobrt652 4 года назад +1

    VS Code has allowed to remotely ssh into a VM or VPS and edit files for a while now, but they are moving in the right direction nonetheless. Great feature and great video sir!

  • @SurfFishingFan66
    @SurfFishingFan66 2 года назад

    Wow, I learned alot from this one video, thank you!

  • @marioandresheviacavieres1923
    @marioandresheviacavieres1923 3 года назад

    Thanks a lot for all this information it has been very helpful!

  • @MegaBruceh
    @MegaBruceh 4 года назад +2

    Thank you so much for this extremely helpful video. I only use Ubuntu for serious purposes such as programming, and have found it difficult to find a platform that runs Ubuntu seamlessly, always getting caught with some basic limitations such as with BIOS restrictions. WSL seems to be just what I am looking for. Shall start my search now to find a suitable pc.

  • @dalebarnett9318
    @dalebarnett9318 4 года назад

    Great info (as always) David ! Thanks for info...very handy! Can't wait to try it!

  • @44mod
    @44mod 3 года назад

    Great video. Easy to follow and I thank you for your time.

  • @MoustafaAcademy
    @MoustafaAcademy 4 года назад +1

    Thanks, David. Did you have an issue for VirtualBox after installing WSL.

    • @davidbombal
      @davidbombal  4 года назад

      Watch from 12:59 - I don't recommend using WSL 2 with VMware Player / VirtualBox. For me I need nested virtualization and that doesn't work properly yet.

  • @orangesage04
    @orangesage04 4 года назад +1

    How to completely uninstall and revert back to default settings?

  • @G4Studioz
    @G4Studioz 4 года назад

    so i had been having trouble getting linux to run and i wanted to find why and i could not anywhere. I found your video and all i had to do was update my windows because i forgot i turned off auto update. I can not thank you enough your tutorials are perfect at displaying all the information.

  • @GoonCity777
    @GoonCity777 4 года назад

    First of all, i am very glad that you in particular made a video on this, as its something im very interested and passionate in, and helpful for me with local Docker & Ansible & Terraform (much quicker). I would be looking at other peoples videos for this, but ypu in particular is a bigger deal. The people who coded this hard stuff in C/C++ are amazing!! Question, has your computer beem any slower with the new Windows 2004 update for the new WSL 2? I tried the Windows Insider slow ring and it significantly slowed it down though I have i5 processor, I had to quickly revert for blazing speed. Any slowing with the stable update from May 27? Thanks!

  • @tom23j
    @tom23j 4 года назад

    Thank you. Your videos are always awesome!!

  • @yassirg4365
    @yassirg4365 4 года назад +2

    Big thanks from Belgium! Didn’t know this was possible..

    • @davidbombal
      @davidbombal  4 года назад

      Thank you Yassir

    • @sheikhazeemsh
      @sheikhazeemsh 4 года назад

      Another thanks from Belgium as well
      I guess now its trendy here in IT Techheads here 😀

  • @karmatsering158
    @karmatsering158 2 года назад

    much love, simply outstanding

  • @dimon.digital
    @dimon.digital 2 года назад

    Thank you, David, for help!

  • @dencam
    @dencam 4 года назад +2

    Great video 👍.
    I will start learning Linux from my Windows 10 PC

    • @davidbombal
      @davidbombal  4 года назад +2

      Thank you Dennis! All the best learning Linux - it's a fantastic operating system.

  • @JSL180
    @JSL180 4 года назад +1

    Thanks David, really useful. Nice video as always!!

    • @davidbombal
      @davidbombal  4 года назад

      Thank you and you're welcome

  • @niled.r.1639
    @niled.r.1639 3 года назад

    Thank you very much for the video, clear and concise. A tutorial for editing/debugging the code in wsl using eclipse or intellij on the windows would be awesome 😁. Thanks again.

  • @ronnierush9379
    @ronnierush9379 4 года назад +1

    Thanks for the video. I wonder what Microsoft are up to??? Seems a strange thing to do when you could just use a virtual machine program/app like Oracle or VMware to run Linux. Because I use Linux Mint mostly have Windows 10 -7 running on VMware so if I need any quick Microsoft stuff I can just run it inside Linux Mint, faster that way round at the moment.