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
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/
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
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 !
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!
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.
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
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!
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.
Thank you VERY much, David. You are the first person on RU-vid 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
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. :-)
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.
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.
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!
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.
@@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.
@@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
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?
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.
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!
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
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. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8gw0rXPMMPE.html&app=desktop devblogs.microsoft.com/commandline/introducing-windows-terminal/
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.'
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
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.
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..
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!!
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.
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.
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.
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.
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!
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.
I have just bought a notebook with Windows 11. Two huge surprises: Windows Terminal WSL now supports the graphics on Linux, apparently to the extent of supporting rendering. I have installed Debian, using the virt-manager stuff to do stuff on virtual machines hosted on Linux in another room.. The virt-manager is (and other stuff could be) running in Linux windows on Windows. Which made me wonder how much of this works with WSL 2 on Windows 10.
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.
Very nice, thank you! If you also have this problem of wsl not running command 'code .' check that vsc is added to path by using command 'echo $PATH. If it is not there then you can just reinstall vsc with option of adding to path clicked, hope that helps!
I get below error on launching Ubuntu Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS. I have already enabled "Virtual Machine Platform" & "Windows Subsystem for Linux" in Windows Features. How can I fix above error?
hi sir, Im not a pro in IT,bt 2017 I did this n my win10 is 1909 old version,not 2004,n I hv checked in only win subsys for linux only,without virtual platform on win features.and I can use the ubuntu same as u shown at 9.20min ,only the codename differs as "xenial"on mine. other setails r same as in vid. bt I didnt try VM running yet coz i hv js started IT career,so not taking much risks..thanx good vid.
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.
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!
Great video. Thanks a lot. I did find that on the old laptop that I tried this on, not setup for gaming, I also had to turn on virtualization in the BIOS to get WSL2. I suppose that's just one of those things that can vary.
Thanks for this interesting video. It is clear for me how to use it. What is not so clear for me is: If WSL2 using a Linux kernel, is the Linux distribution from the MS Store a full distribution with it's own kernel or a stripped version running on the kernel provided by WSL2? How is this WSL2 working together with the Linux distribution and what makes this different from installing a Linux distribution in a virtual machine?