I will show you how to install WSL2 and then Ubuntu on Windows 11 easily in two steps in this tutorial. Before start, I want to give you brief information about WSL2 and a comparison table of WSL and WSL2.
Windows Subsystem for Linux, also called WSL, is a subsystem allowing Windows 11 and Windows 10 users to run Linux distributions like Ubuntu, Debian, Fedora, Kali, Alpine, or Suse without any effort and no need to change their daily OS.
WSL2 is the latest version of WSL with new features. For more information about WSL and WSL2, you can read this Microsoft Docs articles.
WSL and WSL2 comparison table:
|Integration between Windows and Linux||✅||✅|
|Fast boot times||✅||✅|
|Small resource foot print compared to traditional Virtual Machines||✅||✅|
|Runs with current versions of VMware and VirtualBox||✅||✅|
|Full Linux Kernel||❌||✅|
|Full system call compatibility||❌||✅|
|Performance across OS file systems||✅||❌|
Source: Microsoft Docs
Windows 11 will ask you for administrator privileges. Click
Done! You can now install any Linux distribution available on Microsoft Store.
These are the store links of all available (installable) Linux distributions on Microsoft Store. Simply click on one of them to get to it.
- Ubuntu 18.04 LTS
- Ubuntu 20.04 LTS
- openSUSE Leap 15.1
- SUSE Linux Enterprise Server 12 SP5
- SUSE Linux Enterprise Server 15 SP1
- Kali Linux
- Debian GNU/Linux
- Fedora Remix for WSL
- Pengwin Enterprise
- Alpine WSL
I'll show you how to install Ubuntu on Windows 11 via WSL2 as an example. You can install other distributions listed above on your own by following the same steps.
Choose one of the Ubuntu results that you want to install. Ubuntu refers to Ubuntu's latest stable release. In our case, it means Ubuntu 20.04 LTS. The second result is the same, Ubuntu 20.04 LTS. The third result is Ubuntu 18.04 LTS, the previous stable version. You can choose a specific version if you wish. My choice is Ubuntu, which is the most current stable version. Click on the one you want.
You will be prompted to create a sudo user account with a password. While typing the password, you won't be able to see any characters. It's okay! This is Linux-style.