+3 votes
60 views
How to install Ubuntu on Windows 11

in Windows11 by (551k points)
reopened | 60 views

1 Answer

+4 votes
Best answer

1 How to install Ubuntu on Windows 11

Integrating two operating systems on a single computer is something that until some time ago was a very complex task to achieve due to a specific detail, which is the file system of each operating system, which are not compatible with each other. The file system ensures that the system can access data read and write operations both on the hard drive and on devices connected to it, which is why Windows 11 and other editions make use of NTFS..

 

 

Linux manages ext3, ext4 file systems and macOS works with APFS, these systems simply prevent us from using a Linux system for example in Linux. To solve this we have virtual machine platforms but Windows 11 has implemented a much simpler mechanism to work Linux distributions on Windows 11 and it is WSL.

 

WSL (Windows Subsystem for Linux - Windows Subsystem for Linux) is a feature disabled by default, but available in Windows 11, with which it is possible to run a GNU/Linux environment with the tools, utilities and command line applications of Linux without any problem but using the native resources directly in Windows. This avoids having to use other alternatives that may have a negative effect on the behavior or performance of the system. Some of the advantages of using WSL in Windows 11 are:

 

WSL on Windows 11
  • Support of programming languages ​​such as NodeJS, Javascript, Python, Ruby, C/C++, C# & F#, Rust, Go
  • Access to tools like vim, emacs, tmux
  • Ability to invoke GNU/Linux applications on Windows
  • Supports commands like grep, sed, awk, and more ELF-64 binaries
  • Ability to run SSHD, MySQL, Apache, lighttpd, MongoDB, PostgreSQL services
  • Invoke Windows applications via a Unix-identical command line shell
  • Ability to run embedded GNU/Linux graphical applications directly on the Windows 11 desktop

 

distributions
With WSL it will be possible to install distributions such as:
  • Debian GNU/Linux
  • kali linux
  • SUSE Linux Enterprise Server v12
  • SUSE Linux Enterprise Server v15
  • Ubuntu 18.04 LTS
  • Ubuntu 20.04 LTS
  • Ubuntu 22.04 LTS
  • Oracle Linux 8.5
  • Oracle Linux 7.9

 

TechnoWikis will explain in detail how to install WSL in Windows 11 and thus have access to use Ubuntu directly there..

 

 

To stay up to date, remember to subscribe to our YouTube channel!
SUBSCRIBE ON YOUTUBE

 

 


1 How to install Ubuntu on Windows 11

 

Step 1

To achieve this in the Start search engine we enter "features" and then click on "Turn Windows features on or off":

 

image

 

Step 2

In the pop-up window we locate the line "Windows Subsystem for Linux":

 

image

 

Step 3

We activate the "Windows Subsystem for Linux" box:

 

image

 

Note: It is advisable to have the "Virtual Machine Platform" box checked to avoid errors with the distribution.

 

Step 4

We click OK to start the search for the related files:

 

image

 

step 5

Now the changes will be applied:

 

image

 

step 6

At the end we will see the following:

 

image

 

step 7

Restart Windows 11:

 

image

 

step 8

We will see that the updates are installed:

 

image

 

step 9

We wait for the WSL installation process:

 

image

 

step 10

Windows 11 will restart again:

 

image

 

step 11

We hope that the update installation process will be carried out in its final phase:

 

image

 

step 12

When logging in we open the Windows Store and look for Ubuntu:

 

image

 

step 13

We select the desired version and click on "Obtain", the download process will take place:

 

image

 

step 14

At the end we will see the following:

 

image

 

step 15

We click on "Open" and a new window will open, there we must wait for the installation of Ubuntu to be carried out:

 

image

 

step 16

After a few minutes we will see the following:

 

image

 

step 17

We enter the desired username and password for this user:

 

image

 

step 18

Ubuntu will have been installed in Windows 11, now it is possible to use commands of this system as if we were in the real distribution:

 

image

 

step 19

Now we can use some WSL commands to manage the feature, we open Terminal as administrator:

 

image

 

step 20

Validate the WSL state:
 wsl-status 
image

 

step 21

Confirm the distributions available to install:
 wsl --list --online 
image

 

step 22

We validate the distributions installed in Windows 11:
 wsl --list --verbose 
image

 

It is possible to update WSL by running:

 wsl-update 
In this way WSL becomes an ally to use Linux distributions on Windows 11 using the same hardware resources.

 


by (3.5m points)
edited

Related questions

+3 votes
1 answer
asked Sep 29, 2023 in Windows11 by backtothefuture (551k points) | 41 views
+4 votes
1 answer
asked Jul 8, 2023 in Windows11 by backtothefuture (551k points) | 43 views
+5 votes
1 answer
asked Jun 15, 2023 in Windows11 by backtothefuture (551k points) | 41 views
+5 votes
1 answer
asked Nov 3, 2022 in Windows11 by backtothefuture (551k points) | 73 views
+5 votes
1 answer
asked Jul 18, 2023 in Windows11 by backtothefuture (551k points) | 36 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,634 questions
10,766 answers
510 comments
3 users