hello and welcome back to efx tv
if you are planning to skip this video
please wait
this video can help you to understand
the latest technology
introduced by microsoft have you ever
imagined
if we were able to use linux inside
windows 10
in the most minimal requirement windows
10
means you should have 4gb ram dual core
processor
with legacy bios which is the minimum
support
don't worry we will talk about bios in
our upcoming videos
in this video our goal is to understand
wsl
and wsl2 how they are different from
each other and what are the things
we should keep in mind before installing
wsl
after listening the word wsl first time
the first question comes in my mind is
what is wsl is also known as
windows subsystem for linux
it was introduced in 2016
by microsoft later on in 2019
wsl 2 was introduced to public
in simplest word if we described wsl
it's known as windows subsystem for
linux or
command line based terminal in windows
we already know that we have command
line interface
in windows which uses all the batch
scripts
batch and bash are different from each
other
now let us talk about what are the
differences
between both both supports fastboot
consumes
less resources but there are some
differences
as well as i said wsl 2 is successive
version of
one wsl-1 doesn't have support of
virtualization wsl-2 supports
virtualization with
hyper-v technology hyper-v allows you to
install
another operating system inside a
operating system
it means a legitimate working
operating system inside another
operating system is
possible only if we have the hyper-v
technology inside our device
wsl-2 has 256
gigabytes of virtual hard disk space
which
supports ext4 file system wsl1
doesn't support ext4 the one of the most
important point you should know is you
should never set up a wsl2
if you want to work with windows file
more rather than
linux files wsl1
performs better with windows files on
other hand wsl 2 supports linux files
for better performance with
virtualization and
hyper-v wsl-2
also supports vmware and virtualbox
where wsl1 could not run them
before we move further i would request
you to
please subscribe efx tv and share this
video with someone
who really requires this information and
please give it a thumbs up and share
your views on this video
now we will see the requirements for
wsl and wsl2 how we can
set up wsl 2 please think once again
i would never recommend to switch wsl 2
if you work with windows files wsn1
is better for windows work with linux
support
with no virtualization and gui
less features better speed and less
usage of your
hardware resources wsl 2 is far better
when you work with linux files only
with virtualization hyper-v gui
cli stands for command line interface
and
gui stands for graphical user interface
which means more feature requires more
resources
and a bit slow as compared to wsl1
until you connect it with vnc server
or xrdp server we are going to set up
in upcoming videos now let's talk about
the requirement for wsl 2. all the
requirements for wsl 2
are there on the screen
[Music]
for desktop-based system you need to
have 64-bit
with windows version of 1903
or higher with build version of
18362 you can see the requirements for
x64 and arm64
both are different architectures x64
stands for
desktop-based windows 10 and
arm 64 stands for all the devices
like mobile and tablets which has
windows platform
please check it toys system build
lower than 18362 will not be supported
with wsl2 let's see how to check
windows version and build in windows 10
all you have to do is press windows r
and type w i n v
e r it means when were
there is no space between these you can
see the command
on your screen as well another way to
check
windows version and build is
press windows r and type cmd
hit enter then type ver
stands for were and hit
enter you will see all the details in
front of you
including windows version and build
number to enable wsl in
windows 10 follow the steps
copy the command i have shared in the
blog
all the commands and instructions is
there in the description
the two commands visible on the screen
need to be used
in powershell to enable the wsl1
to open powershell go to windows main
menu
and search for power cell
run it as administrator and copy paste
the commands
one by one there is second method as
well
but i would never recommend to go with
this
go to windows main menu and search for
control panel
click on control panel click on programs
click on turn on turn off features
and check for the marks visible to you
on the screen
please do not skip this video because we
are going to
move step ahead again i would request
you to
enable wsl1 using commands
only once you are done with both of the
commands
restart your system first please
bookmark
this video and get back soon welcome
back
congratulations wsl has been configured
on your system
successfully
now we can use wsl1 terminals
but before that we have to enable wsl 2.
to do that please download the wsl to
update
executable from the blog or
microsoft official site this is one time
requirement
you do not have to run that executable
again
let me show you where you will get the
wso2 update
go to the google and type uk to blogger
and click on the blog i'm clicking on
scroll down or search for
download wsl latest update
here is the link once you click it
it will start to download executable
file
now execute the file and install the
update
now wsl 2 is enabled on your system
still we need to convert wsl1 terminal
into wsl2 for that we need to download
the terminal first in the previous video
i have shown
all the steps to download wsl based
terminal
on windows 10 please watch that video
to install the terminal and we will
continue after that welcome back once
again
i hope you have downloaded the ubuntu
terminal
or the terminal you required
first update and upgrade your terminal
using the command visible to you on the
screen
now let us check how can we identify the
terminal
version if it is wsl1
or wsl2 to check open the command prompt
also known as cmd press
windows r and type cmt
and hit enter now type the command
visible to you on the screen and
hit enter
you can see that in my system there are
two linux terminals ubuntu
and debian state
version two first one is name
second one is state of the terminal if
it is
running or not and third one denotes if
it is wsl1
or wsl2 in your case you can see that
your terminal belongs to wsl1
i have already converted it to wsl2
that is the main reason you can see the
version 2.
in my system both of the terminals are
powered with
wsl2 first time you have to enable
the wsl2 version no need to worry about
anything let's convert your wsl1 with
wsl2 before doing that please close the
linux terminal
if it is running in background to exit
the terminal
please type exit and hit enter
if there is no terminal running that is
also
okay now again get back to cmd
type the command shown in the video
please change the terminal name
in my case it's ubuntu it will take some
time to convert
the wsn1 to wsl2
please wait for some time to not cancel
the process
let it be hope it worked for you if the
requirements were already fulfilled
now we will again check the wsl version
for
particular linux terminal cheers
if you are able to see the changes
now open the terminal and check for the
virtual space
and file system type
[Music]
[Applause]
[Music]
so
follow me to check the details like
distribution version
architecture and so on please type the
command
shown on the screen now let us see
the amount of resources are system
taking to
run itself free hyphen edge
it will show you all the available
memory
used memory swipe partition details
etc now check the number of processes
it is running simply typing ps
you can see all the processes terminal
is running in background
let's open my second terminal and see if
it affects the memory usage
or our second terminal is able to detect
another terminal or not you can see that
both of the terminals are using same
space
now let's check if they are able to
detect
each other in the process
we can clearly see there is no extra
bash terminal
it means they are not able to detect
each other
in the next part i i'm going to show you
how to connect this terminal
to gui using xrdp remote server
hope you like this video and please
subscribe
i'm trying to produce the finest content
in
much more descriptive way please forward
it to someone
who requires this video see you in the
next part
till then stay home stay safe