Linux

Installing Ubuntu in Windows 11 | WSL



This is a fresh installation of Windows 11 and how to use Linux within Windows 11.
Here are the steps.
1. Open a command prompt and type wsl
wsl means Windows Subsystem for Linux

c:/ wsl
This will run some installation and enable some features
2. Use the following command to list the online available distros.

c:/ wsl –list –online

3. Select the distro you want, I Selected Ubuntu-24.04
and I used the following command
C:/ wsl –install Ubuntu-24.04

let us restart the system.
After the restart,
4. Open the command prompt and run wsl as given below
C:/ wsl –install Ubuntu-24.04

This command will ask you to create a username and password. (Do not forget these details.)
and that it’s… Your Ubuntu terminal is UP…. !!!!
#wsl #windows11 #ubuntu
Check these commands in the terminal
$ cat /etc/*-release
$ sudo apt update

Try using Ubuntu within Windows.
You can use a GUI editor also (gedit is a popular editor similar to Notepad)

$ sudo apt install gedit

and to open a file using gedit
$ gedit filename.c
if gedit takes more time, you can use either

$ nano file.c
or
$ vim file.c

So, using Ubuntu within Windows 11 is quite an easy process….

Thanks for watching my video and subscribing to my channel…

Join this channel to get access to the advanced simulation videos and other perks:

Source Codes:
My other Channel –
My Tech Blog –
My Personal webiste – ​
______________________________

Follow me on,
Instagram –
Facebook –
Twitter –
________________________________

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button