WSL 2: Getting started

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

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

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

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

  • @wassimmefteh401
    @wassimmefteh401 3 года назад +122

    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

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

    Linux running on Windows using a Apple keyboard 👌

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

      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.

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

    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.

  • @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 :)

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

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

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

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

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

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

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

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

  • @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. :-)

  • @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 7 месяцев назад

    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.

  • @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. :)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      Linux is great. Definitely worth learning.

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

  • @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 :)

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

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

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

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

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

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

    Love your voice!!!

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

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

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

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

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

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

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

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

  • @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 :)

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

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

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

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

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

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

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

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

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

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

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

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

    I love both Windows and Mac platforms and with WSL 2, my tools on both platforms have gotten even closer:
    Chrome
    VS Code
    Terminal
    Happy coding! ❤

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

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

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

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

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

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

    unpouplar story : this tutorial is a gem

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

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

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

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

    you made me overcome my fairr of installation of linux

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

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

    Fascinating. Very well put together explanation of WSL.

  • @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.. :)

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

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

    Today I heard about that Microsoft released the WSL2 for Windows Version 1903 and 1909. This last one is my version and finally I can follow your instructions. So for the users with these version, is just update the windows to be able to use WSL2.

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

      Another good tip I got somewhere, after windows auto update to 1909, I was able to manually update to 2004 just accessing the MS download official website.

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

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

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

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

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

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

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

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

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

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

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

    Very comprehensive info on WSL2. Thanks for the video!

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

    Your videos are spectacularly clear, very well done!

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

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

    Brilliant, thank you. Saved me from buying another laptop.

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

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

    Hey there im watching through the playlist i got here from networkchuck!

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

    you the man! thank you so much!

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

    The step by step is amazing

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

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

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

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

  • @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 :)

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

    David thanks for making my life easier

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

      Please give some advice if you don't mind. I started studying cybersecurity from half of month. At the age of 38. Is it late. Can I do

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

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

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

    What an awesome tutorial! Thank you so much, kind sir

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

    Yarn + WSL was extremely slow for me - at first. Now that I know what to watch out for, I’m looking forward to find more NEED TO KNOW "issues". 😮

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

    Well explained!, big thanks from Kuwait

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

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

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

    David, thank you for your tutorial. Top notch!

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

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

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

      Thank you and you're welcome

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

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

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

    Thank you. Your videos are always awesome!!

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

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

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

    Hey David, excellent video! more power to you!

  • @becs-ps1bb
    @becs-ps1bb 11 месяцев назад

    You are a god bless. Thank Mr Bombal.

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

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