- All right, apart from the Ubuntu distribution
and the redhead distribution, there is this new kit in town.
We call it Windows Subsystem for Linux.
Now, what is Windows Subsystem for Linux?
Windows Subsystem for Linux is Linux integrated
in the Windows operating system.
It's something that you need to separately enable
and I will show you how to do that.
But once you have done that
then you get an Ubuntu inches that can be started
as a part of the Windows operating system.
It is basically a Linux shell and Linux utilities
that are run on top of the Windows kernel.
Windows Subsystem for Linux uses parts
of the Windows operating system
and that is what makes it different.
So if you really want to become an expert on in Linux
then WSL is not the best way to get started.
You better go go for a real Linux distribution
but if you go for the command line experience
and you don't care so much about kernels
and service management and stuff, then it's okay to use WSL.
Much of what we do
in this course is completely compatible to WSL.
Now, WSL, as I mentioned
uses parts of the Windows operating system.
And for that reason
it is different from the other distributions
in particular regarding the boot proxy procedure
and kernel use.
But as I just said, these are not very important topics
in this course, so that shouldn't be too too important.
WSL does offer full command line experience
and that makes it, most
of the things we are doing here will work in WSL as well.
And for that reason
I wanna tell you how to get started with WSL.
Here are the requirements.
You need a recent version of Windows.
You need to make sure that HyperV is enabled
in the Windows features after doing so you restart.
Then you run a PowerShell with administrative privileges
and you use the command WSL minus minus install
and then you restart and you will have access to WSL.
Let me show you.
So WSL, what are we going to do?
Well, here we are on Windows 10 enterprise edition
and I need to start by enabling HyperV.
So let me, let me go to, to the search bar and let me look
for HyperV of course, in Windows, there are different ways
to get access to your stuff.
And here, if I look for HyperV I'm getting turn Windows
features on or off, that's exactly what I need.
HyperV is a virtualization layer in windows
and WSL needs it.
So I'm selecting it, I'm clicking okay
and then it is searching for required files
and applying the changes.
And once it is done, we will need to reboot the
Windows machine.
So restart now, there we go.
So here, I'm in my, my login screen.
And once we have done that, we are ready to use HyperV
and we can go for the next step.
And the next step is PowerShell.
So I need PowerShell.
And in PowerShell, I need to run it as administrator.
And yes, that is allowed.
There we go, this is PowerShell.
And in the PowerShell I'm using WSL
minus minus install
and that is going to install the virtual machine platform
and the WSL system and the WSL kernel.
And it'll download Ubuntu depending on your internet speed
that might take a minute or so.
All right, and again, we need to reboot.
Again and here we go restarting windows to make sure
that we can start using WSL.
So here we go.
I can log in again.
And now that we have logged in
let's do WSL and now we can see WSL run command.
So after the reboot, the WSL insulation is resuming
and you can see it installing Ubuntu.
So again, a little bit
of your patience until this is finished.
So once you are done, you will get access
to WSL, Windows Subsystem for Linux.
Here we can see Windows Subsystem for Linux
in which I'm use a student and in which I can use Linux
as if it were a regular Linux distribution.
So you can use your Linux commands
and just proceed with all that I am going to teach
in the next couple of lessons.