0:02
hey everyone welcome back to our Channel
0:04
today we are going to show you how to
0:06
run Ubuntu 24.4 on Windows 11 using
0:10
WSL whether you are a developer or just
0:13
curious about Linux the step-by-step
0:15
guide will help you to get started if
0:18
you find this video tutorial helpful
0:20
don't forget to like subscribe and hit
0:22
that notification Bell for more
0:24
tutorials before we begin let's quickly
0:27
talk about WSL it stands for Windows
0:30
subsystem for Linux it allows you to run
0:33
Linux distributions like ubu directly on
0:36
your Windows system without the need for
0:38
a virtual machine it is perfect for the
0:41
developers who want to use Linux tools
0:43
on Windows all right let's get started
0:46
before we install UB to 24.4 there are
0:50
prerequisites we need a running Windows
0:53
11 system make sure your system has
0:55
virtualization enabled in the Bios you
0:58
also need administrative VES on your
1:00
computer without any further delay let's
1:03
jump into the actual step the first step
1:06
is to enable WSL on your windows 11
1:09
system for that start the
1:17
Powershell start it as a
1:27
administrator we need to execute two
1:29
commands share in order to enable WSL
1:36
features I'll say these two commands in
1:38
the description of the video for your
1:41
reference copy the First
2:00
output confirms that the command has
2:04
successfully now copy the second
2:14
command this command will enable the
2:16
virtualization platform feature hit
2:26
enter perfect the output shows that the
2:30
second command has been executed
2:32
successfully in order to make these
2:34
changes into the effect we need to
2:36
reboot the system so reboot your system
2:40
once once the system is back online
2:42
after the reboot update your WSL to the
2:45
latest version for that again start the
2:47
power cell with administrative
2:58
rights run the command WSL space hyphen
3:06
update output confirms that my WSL is
3:09
already updated to the latest
3:12
version all right next step is to set
3:16
the wsl2 as a default
3:19
version for that run the command WSL
3:21
space hyph hyph set hyphen
3:25
default hyphen version Space 2 it's
3:31
Center okay the command has been
3:33
executed successfully it means uh WSL 2
3:38
has been set as a default version next
3:41
install uban 24.0 4 before that list the
3:46
distributions run the command WSL space
3:49
hyphen hyphen list space hyphen hyphen
3:54
online in the output I can see UB to
3:59
distribution is available in order to
4:02
install this distribution then the
4:04
command WSL space iph hyph install space
4:09
hyph d is for distribution followed by
4:12
the distribution name in our case
4:21
enter it will start installing 22 4.04
4:25
on your system it may take 4 to 5
4:28
minutes depending upon your internet
4:33
speed once it is installed successfully
4:36
it will prompt us to set the initial
4:38
username and password for our UB
4:41
2 Enter the username and password for
4:52
instance all right output confirms that
4:55
installation is successful now we are
4:58
logged in automatically into our UB to
5:01
24.4 instance another way to access this
5:05
uh UB to 24.4 instance from the start
5:19
open all right now run the sudu space
5:24
app update command in order to update
5:27
the repositories index
5:40
next install all the updates so that you
5:42
have the latest features and security
5:44
updates for that run the
6:07
all right all the updates has been
6:13
successfully in order to manage this
6:19
distribution go back to the powers
6:24
shell log out from this uh Linux
6:27
distribution to list the WSL instances
6:29
you can run the command WSL space hyphen
6:35
V it will show us the list of the Linux
6:38
distributions which are currently
6:40
running on our system as you can see as
6:42
of now we have one instance that is ub2
6:45
254.04 status is running and its version
6:49
is true in order to stop or shut down
6:51
this instance we have to run the command
6:54
WSL space iph hyph set down
7:08
name if you rerun the previous command
7:12
you will see the state has been changed
7:18
stopped in order to start this instance
7:21
again you can run the command WSL space
7:24
iPhone d space instance name
7:36
great we have successfully started our
7:38
instance again and we are automatically
7:44
instance in case you want to uninstall
7:47
this Linux distribution completely from
7:49
your system for first you need to
7:51
unregister it using the command WSL
7:56
space came out from the this this
8:01
and WSL space hyphen hyphen
8:09
space uh your distribution name once
8:12
this command is executed successfully
8:15
then again go to the start menu search
8:18
UB to here and then click on uninstall
8:22
by doing so it will be uninstalled
8:24
completely from your system
8:29
that's all from this video tutorial I
8:31
hope you have found it useful and
8:33
informative please give it a thumbs up
8:36
subscribe to our Channel if you have any
8:38
questions or any queries please feel
8:41
free to drop in the comment section
8:44
thank you bye have a nice day