Are you looking forward to enjoying the best of both worlds by running Linux on your Windows 11? If yes, then you’re at the right place! This blog post will guide you through the process of installing Linux on Windows 11 using the Windows Subsystem for Linux (WSL).
What is Windows Subsystem for Linux (WSL)?
The WSL is a compatibility layer for running Linux binary executables natively on Windows 10 and Windows Server 2019. In simpler terms, it allows you to run Linux on your Windows PC.
How to Install WSL
Before installing an actual Linux distro, we first need to set up WSL on our system. Follow the steps outlined below:
Step 1: Enable WSL
To enable WSL, you will need to use PowerShell as an administrator. Open it, and then run the following command:
This command will enable the required optional components, download and install the latest Linux kernel, set WSL 2 as the default, and download a Linux distribution.
If you want to select a specific Linux distribution, you can specify it as follows:
wsl --install -d Ubuntu
Once the command finishes executing, you will need to restart your computer.
Running Linux on Windows 11
After your computer reboots, you can start using Linux. To open your installed Linux distro, you can just search for it in the Start menu and click on it.