Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Do you want to install Ubuntu on your Windows 11 PC without the need to dual boot? This guide teaches you the steps to install Ubuntu on Windows 11 using the Windows Subsystem for Linux 2 (WSL2).

Before proceeding with the steps in this guide, ensure that you have enabled virtualization in the BIOS. If your PC does not support virtualization or you do not enable virtualization in BIOS, the installation of Ubuntu in the last section of this guide will fail.

Step 1: Check that your PC meets the Prerequisite to Install Ubuntu

As I hinted in my introduction, before you can install Ubuntu, your PC must meet some requirements. Specifically, your PC must be running Windows 11 (build 22000 or higher)

Follow the steps below to check the build number of your Windows 11 installation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Right-click the Windows 11 Start menu and select Settings.
  1. Then, when the Settings page opens, the System category will be selected by default. On the details pane of the System settings, scroll down and click About.
Check That Your PC Meets The Prerequisite To Install Ubuntu on your Windows 11
  1. Finally, on the About page, scroll down to the Windows specifications section and check the OS built for your Windows 11 installation. If it is 22000 or higher, proceed to the next section of this guide below.

    Otherwise, update your PC.

Step 2: Install the “Virtual Machine Platform” Windows Optional Feature

One of the requirements to install Ubuntu Windows 11 is the Virtual Machine Platform. To install this Windows optional feature, follow the steps below.

Popular on Amazon
Sandisk 2TB Extreme Portable SSD, Up to 1050MB/s, USB-C, USB 3.2 Gen 2, IP65 Water and Dust Resistance, Updated Firmware, External Solid State Drive, SDSSDE61-2T00-G25
  • Get NVMe solid state performance with up to 1050MB/s read and 1000MB/s write speeds in a portable, high-capacity drive(1) (Based on internal testing; performance may be lower depending on host device & other factors. 1MB=1,000,000 bytes.)
  • Up to 3-meter drop protection and IP65 water and dust resistance mean this tough drive can take a beating(3) (Previously rated for 2-meter drop protection and IP55 rating. Now qualified for the higher, stated specs.)
  • Use the handy carabiner loop to secure it to your belt loop or backpack for extra peace of mind.
  • Help keep private content private with the included password protection featuring 256‐bit AES hardware encryption.(3)
  • Easily manage files and automatically free up space with the SanDisk Memory Zone app.(5). Non-Operating Temperature -20°C to 85°C
  1. Click the Windows 11 search icon. Then, type windows features and select Turn Windows features on or off from the search result.
  1. When the Windows features pop up opens, scroll down and check Virtual Machine Platform. Then, click OK and wait for Windows features to display the restart option.
How To Install Ubuntu In Windows 11 With WSL2 - Install The "Virtual Machine Platform" Windows Optional Feature
  1. Before you click OK, locate Windows Subsystem for Linux and confirm that it is unchecked.

Step 3: Install the Windows Subsystem for Linux 2 and the Ubuntu Apps from Microsoft Store

The final step to installing Ubuntu in Windows 11 is to install the Windows Subsystem for Linux app from the Microsoft store. Then, you’ll download and install the Ubuntu Linux app from the Microsoft store as well.

Follow the steps below to complete this last step and install Linux on your Windows 11 PC!

Also popular on Amazon
Sandisk 1TB Portable SSD, Up to 800MB/s Read Speeds, Black (Old Model) | External Solid State Drive, Compatible with Laptops & Tablets, Up to 2M Drop Protection, USB 3.2 Gen 2, USB-C to USB-A Cable
  • Solid state performance with up to 800MB/s read speeds in a portable drive. (Based on internal testing; performance may be lower depending on host device, interface, usage conditions and other factors. 1MB=1,000,000 bytes.)
  • Back up your content and memories on a storage solution that fits seamlessly into your mobile lifestyle.
  • Take it with you on your adventures—up to two-meter drop protection means this durable drive can take a beating. (Based on internal testing.)
  • Secure it to your belt loop or backpack for extra peace of mind thanks to the tough rubber hook.
  • From Sandisk, a brand professional photographers trust to take on assignments.
  1. Search store, then click Microsoft Store from the search result.
  1. When Microsoft Store opens, search windows subsystem. Then, select Windows Subsystem for Linux Preview from the search results.
final step to installing Ubuntu in Windows 11 - Install Windows Subsystem For Linux And Ubuntu Apps From The Microsoft Store
  1. Finally, when the app opens, click Get and wait for it to download and install the app. After you have installed the Windows Subsystem for Linux Preview app (it will display the Open button), proceed to step 4 below.
final step to installing Ubuntu in Windows 11 - Install Windows Subsystem For Linux And Ubuntu Apps From The Microsoft Store
  1. Search ubuntu on the Microsoft Store. Then, select Ubuntu 20.04.5 LTS.
It may take a while for Windows to download the Ubuntu app.
I tried installing Ubuntu 22.04.1 LTS, but it hangs. So, I can conclude that the version that works (as of October 5th, 2022) is Ubuntu 20.04.5 LTS.
  1. When Windows 11 finishes installing the Ubuntu app, click the Open button.
When I opened Ubuntu to start installing it, I received the error message –
“The system cannot find the file specified. Error code: Wsl/Service/CreateInstance/ERROR_FILE_NOT_FOUND”.
final step to installing Ubuntu in Windows 11 - Install Windows Subsystem For Linux And Ubuntu Apps From The Microsoft Store
  1. If you receive this error message, you may have attempted to install another version of Linux on your Windows 11 PC.

    To fix the problem, press the enter key to close the Ubuntu Windows. Then, open the command prompt as administrator and run the command below.
wsl --unregister Ubuntu-22.04
  1. Then, open Ubuntu again. Then, wait for Ubuntu to display the “Enter new UNIX username” prompt.
  1. Enter a user name and press the enter key on your keyboard.
Enter only lowercase for your username.
  1. Now, type a password and press the enter key on your keyboard. Re-type the same password and press enter key.

The Ubuntu instance will display the lovely Linux prompt. You have successfully installed Ubuntu in Windows 11!

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Finally, it is recommended to update your new Ubuntu installation. To update the installation, run the following commands.
sudo apt update
sudo apt full-upgrade
Wait for the first command to complete before you run the second command. When you run the second command, Ubuntu will prompt you to confirm that you want to perform the update. Type y and press enter key.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Frequently Asked Questions

1. How do I download and install Ubuntu in Windows 11?

Before you can download and install Ubuntu in Windows 11, enable Virtualization in your PC’s BIOS. Then, follow the steps below to download and install Ubuntu:

i) Install the “Virtual Machine Platform” Windows Optional Feature
ii) Then, install the Windows Subsystem For Linux Preview from the Microsoft store
iii) Next, install Ubuntu 20.04.5 LTS from Microsoft store
iv) Finally, after installing Ubuntu, open it; then follow the prompt to create an account and set your password.

Also popular on Amazon
SSK Portable SSD 500GB External Solid State Hard Drive USB C Up to 1050MB/s | USB3.2 Gen2 A&C Cable, SMART TRIM, LED Light, OTG, iPhone 18/17/16/15 Pro Compatible 4KHDR ProRes, Aluminum
  • Capacity Display Variance: 500GB external ssd often appears as around 465GB on Windows. MacOS can show full 500 GB capacity. This is binary calculation difference and doesn’t affect SSD hard drive actual physical storage
  • 1050 MB/s Speed: Instantly access to your files with blazing-fast 10Gbps external SSD read up to 1050MB/s and write up to 1000MB/s. LED Light indicates USB SSD instant activity
  • Data Security: Solid state drives S.M.A.R.T. health diagnostics​ and adaptive TRIM optimizing data block management ensures consistent write speeds and extends the longevity of the portable SSD
  • USB-C & USB-A Cable: Both cables featuring rapid USB 3.2 Gen2, this USB SSD effortlessly bridges devices, enabling seamless cross-platform file transfers and backup between computers, smartphones, tablets and iPhone
  • Always Fast: No slowdowns for large file transfers. With SLC caching (25% of current available capacity allocated as high-speed cache), this external SSD delivers steady 10Gbps for transfers within the cache capacity
2. Is WSL as good as Linux?

WSL (Windows Subsystem for Linux) has all you need to run and learn Linux. Although it may not have all the features of a full Linux installation, it has all you need to run Linux in a test environment.

3. Is WSL faster than a VM?

I would say, yes. WSL (Windows Subsystem for Linux) is faster than running a full VM. Even though WSL 2 uses the Linux kernel running under Hyper-V, it consumes less resources, so it is generally faster than a VM.

Also popular on Amazon
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
4. Can WSL replace dual boot?

Effectively, YES, WSL can replace dual boot. WSL allows you to run a Linux distro within Windows.

So, WSL has the advantage of running two operating systems (Windows and Linux) without needing to leave one and boot into the other.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
5. Is WSL free to use?

Yes. WSL is free to use.

Conclusion

The Linux Subsystem for Linux (WSL) has been a go-to tool for Windows users that want to play around with a Linux distro within Windows. Although WSL version 1 was great, WSL version 2 (WSL2) has taken it to the next level!

Also popular on Amazon
Sale
Samsung T7 Portable SSD 1TB Titan Gray, USB 3.2 Gen 2, Up to 1,050MB/s | Reliable External Solid State Drive Storage for Gaming, Students, Professionals (MU-PC1T0T/AM)
  • MADE FOR THE MAKERS: Create; Explore; Store; The T7 Portable SSD delivers fast speeds and durable features to back up any endeavor; Build your video editing empire, file your photographs or back up your blogs all in an instant
  • SHARE IDEAS IN A FLASH: Don’t waste a second waiting and spend more time doing; The T7 is embedded with PCIe NVMe technology that brings fast read and write speeds up to 1,050/1,000 MB/s¹, making it almost twice as fast as the T5
  • ALWAYS MAKE THE SAVE: Compact design with massive capacity; With capacities up to 4TB, save exactly what you need to your drive – from large working files to game data and everything in between
  • ADAPTS TO EVERY NEED: Whether using a PC or mobile phone, count on the T7 for extensive compatibility²; It’s a true team player when it comes to heavy-duty application usage or file-saving
  • HI RESOLUTION VIDEO RECORDING: Record Ultra High Resolution (4K 60fs) videos directly onto the T7 Portable SSD with your favorite camera or mobile devices; Supports iPhone 15 Pro Res 4K at 60fps video and more³

WSL2 has made running a Linux distro like Ubuntu in Windows 11. So, as part of the steps to install Ubuntu in Windows 11, as shown in this guide, you have to install Linux Subsystem for Linux 2.

It is important to mention that WSL2 uses the Linux kernel running under Hyper-V. So, your PC must support virtualization, and you must enable it in the BIOS.

This guide showed you the full step to download and install Ubuntu in Windows 11, and I hope you found the guide easy to follow. Most importantly, I hope you now have Ubuntu running in on your Windows 11 PC!

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If you found the guide helpful, click on “Yes” beside the “Was this page helpful” question below. You may also express your thoughts and opinions by using the “Leave a Comment” form at the bottom of this page.

Finally, for more Windows 11 guides, visit our Windows 11 How-To Guides – Get Windows 11 Guides page.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.