Install Windows Subsystem for Linux

How to Install Windows Subsystem for Linux (WSL) on Windows 11

WSL allows you to run Linux command-line tools

Microsoft recently came up with the latest version of Windows namely Windows 11. It comes with a bunch of new features such as new animations, redesigned icons, UI overhaul, and a re-touched taskbar. Also, Microsoft has made the process to install Windows 11 on Linux easier. Microsoft has reduced the Windows Subsystem for Linux 2 (WSL) installation process to a single command that downloads and installs all essential components, including the virtual machine platform and Linux GUI programs.

By default, the script installs the most recent Ubuntu version. If you prefer a different Linux distribution, you can add a command to select a different distro to install. Along with the new quick and easy method, a new command has been added to make updating the kernel easier with only one command. Here is a step-by-step guide to install Windows 11 subsystem for Linux (WSL) on Windows 11.

Method 1: Install Windows Subsystem for Linux (WSL) on Windows 11 with a Command

Well, to install WSL on Windows 11, first of all, open the command prompt and run it as administrator. Then type wsl –install command and press enter. After the command runs successfully, reboot your system to finish the installation process. Now continue the Linux Distro setup. After completing the setup, On both Windows 11 and the newest version of the Ubuntu Linux distribution, the essential Linux components will be installed automatically.

wsl commands

Method 2: Install Windows Subsystem for Linux (WSL) with a specific distro on Windows 11

Well, if you don’t prefer the normal WSL version which is mentioned above, and prefer another version of Linux, You can do this with WSL2 which allows you to view and select different distros. Here is the step-by-step method to install a specific distro on Windows 11.

First of all, open a Command prompt and run it as administrator. Now type the following command and hit enter wsl –list –online. Now type the command wsl –install -d DISTRO-NAME. Make sure to mention the proper distro name. After the command runs successfully, reboot your system and again, continue the Linux distro setup as necessary. The Windows Subsystem for Linux 2 components, as well as the Linux distro you choose, will be installed when you finish the instructions.

Linux with a specific distro

How to Update WSL Kernel on Windows 11

If you want to update the WSL kernel to the latest version, here’s how you can install it. First of all, open the command prompt and run it, administrator, then type the command wsl –update and hit enter. If any update will be available then it will download and install it. The WSL kernel will be now updated to the latest version.

Having that said, what do you think about installing WSL on Windows 11, do let us know in the comment section below. Also, don’t forget to take a backup of your data before triggering the actions. If anything wrong happens, then nothing will happen to your data.

About Chandan Pandit

He is a Tech Journalist at Dealntech. He writes on Mobile and Android related news. Keeping the contents as simple as possible with proper information is his goal. He enjoys researching all kinds of tech products, especially fascinating latest mobile phones and gadgets. In his free time, he loves playing mobile games.

Leave a Reply

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