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