Site icon TechRechard

How to Install Linux on Windows 11 using WSL 2

How to Install Linux on Windows 11 using WSL 2

In this article, we will learn How to Install Linux on Windows 11 using WSL 2. In the new version of Windows 11, Microsoft developers have simplified the mechanism for installing WSL components. You can install the Windows subsystem for Linux, the virtual machine platform, the WSL kernel, and the Linux distribution with one command.

What Linux distributions can be installed on Windows 11:

How to Install Linux on Windows 11 using WSL 2: Step by Step Guide

wsl --install
Installing WSL

The –install command allows you to perform the following actions:

When you have finished this procedure, restart your computer.

Creating a user and password in Ubuntu OS

For each Installed Linux Distribution, a unique user name and password are created in the Windows environment. A unique account will be used to log in to a specific distribution. This account has the ability to take Linux administrator privileges.

Installing a Specific Linux Distribution of MS Windows 11 Using WSL2

wsl --list --online
List of available Linux distributions
wsl --install -d Kali-Linux
Installing Kali Linux
Creating a user and password in Kali Linux

Several ways to Run Linux on Windows 11

To subsequently run the installed Linux distribution, you can use one of the options:

Uninstall Linux distributions and Disable Windows Subsystem for Linux

To open this window, you can use one of the options:

If the Windows Engine for Linux is not updated automatically (for example, it is possible to update only manually using the wsl –update command), you must enable the Windows Update option To receive updates for other Microsoft products when you update Windows.

Linux startup error may be caused by the BIOS or UEFI not having the virtualization support option enabled

If you are running Windows Subsystem for Linux in a virtual environment, such as using the VMware Workstation platform, you must:

Configuring Virtualization Support in VMware Workstation

The above-mentioned are only 2 reasons why there may be problems with the correct operation of the WSL. Other reasons will be considered in the future.

Conclusion: How to Install Linux on Windows 11 using WSL 2

I hope this guide on How to Install Linux on Windows 11 using WSL 2 was helpful. If you face any issues, please comment below. Here are some other Windows 11 guides.

Exit mobile version