Hello , everyone .
In this video , we're gonna look at the steps to install the Windows subsystem for Linux version two or WSL two on Windows 10 version 19 03 or higher , including version 20 04 and 20 H two .
If you're not familiar , the WSL two is the second version of the integration that Microsoft have created to use Linux alongside Windows 10 .
However , in this new version , the integration uses a virtualization technology rather than a direct translation between Windows and Linux .
These steps will help you to install the WSL two on Windows 10 version 19 03 or later .
However , starting with Bill 22 46 Microsoft is making it even easier to install the subsystem for Linux , which I will also show you in this video .
OK .
Here's how to install WSL two on Windows 11th , open start and look for the Windows features on or off .
Click the top result in here , scroll down and check the windows subsystem for Linux option and also check the virtual machine platform option and now click the OK button to let windows install the require files and now click the restart button once you restarted the computer .
We need to download and install a required package which we can download using this link .
So we're just gonna open the web browser and paste the link to download that package .
Now we click to open it and then click next to install it , click finished and now open start , look for powershell , right .
Click the top result and select the one answer administrator option in the console that the following command to set the Windows of system for Linux two , you're the full architecture for new that you will be installing on your computer .
And that's how you install and set up the Windows subsystem for the next version two .
Now you can open the store to download and install a Linux distribution .
For example , ubuntu for the purpose of this guy .
I'm just going to select the 20 04 version when I click the install button once installed , click the launch button .
Here , we're gonna set up a user name and we're gonna set up a password .
And now we installed a distribution of Linux on Windows 10 using the Windows of system for Linux version two to confirm that your rows are using the windows of system for Linux two on powershell .
You can use this command the WSL list bebo and press enter .
And as you can see , we can see that U Linux is running on version two .
If you were using in the past WSL version one , you can convert those dis install on your computer to version two .
You will do it using this command WSL set version , the name of the and two to specify the version .
So for example , in this case , I'm just using the UTU dis .
So I will use the ubuntu name .
If you don't know the name of the , you can always use the WSL dash L dash V command and then press enter .
And that will also list Linux distributions installed on your computer and solders to it .
Although on Windows 10 , installation of the Windows sub system for Linux two , it is not a difficult process .
It takes some steps to set it up .
So in future releases of Windows 10 Microsoft is working on simplifying the installation process to reduce the number of steps to install all the components including the virtual machine platform to run distributions of Linux alongside Windows 10 .
And to do that , you have to make sure that you're running Windows 10 22 46 or a later release , you can confirm the version of Windows 10 on your computer by going to the settings app and then on system about and on Windows specifications on OS bill .
Make sure that you have a built number higher than 22 46 .
In my case , I have the 22 51 .
Once you confirm the version of Windows 10 to install WSL two , open start , look for powershell , right .
Click the top result and select the run a administrator option in the console type , this command WSL dash dash install and then press enter as you run this command , the system will install all the required components to install and set up the windows system for no two .
In addition to that , it will download and set up the latest version of the ubuntu Linux distribution .
Once you completed the steps , you want to restart your computer to apply the changes and that's it .
If you prefer to use a different flavor , Linux , the WSL two command also includes an option to view and select a different during installation .
So the command is WSL list online .
And as you can see , we have a list of all the distributions available and to install the WSL components with a different distribution , simply type the WSL command , install dash D and the name of the , for example , let's install Linux .
In that case , I will just type from the column name Linux and then press center just a warning in here .
Uh At the time of the recording of this video , I don't know if it is my installation or the bill that I'm actually using .
But I'm getting this error as you can see right here .
But that's how in the future you will be able to install the WSL version two and all the components .
In addition to the new commands to simplify the installation of WSL two .
There is another option that allows us to quickly update the Windows subsystem for Linux .
And that command is WSL two update .
If there is any updates , it will download and install automatically on your computer .
As you can see a new version of the kernel has been installed .
So we're gonna use the WSL shut down command to for restart WSL on Windows 10 .
And this is how we install and update the Windows up system for the next two on future releases of Windows 10 .
Remember to like the video , leave your comments , subscribe to the channel if you haven't done that yet .
And I just hope this video was informed for you .
And I would like to thank you for viewing .