How to Install Ubuntu 22.04 LTS on Windows (Complete Guide)
Ubuntu 22.04 LTS (Jammy Jellyfish) is one of the most popular Linux distributions, known for its stability and long-term support. Thanks to Windows Subsystem for Linux (WSL 2), you can install and run Ubuntu directly on Windows 10 or Windows 11 without dual-booting or using a virtual machine. This guide will walk you through the installation process step by step.
Prerequisites
Before installing Ubuntu 22.04 on Windows, make sure you have:
Windows 10 version 2004 or later, or Windows 11.
WSL and Virtual Machine Platform enabled.
A stable internet connection.
Step-by-Step Installation Guide
1. Enable WSL and Virtual Machine Platform
Open PowerShell as Administrator and run the following commands:
1. dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart 2. dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Restart your computer after enabling these features.
2. Set WSL 2 as Default
Run this command in PowerShell:
1. wsl --set-default-version 2
3. Install Ubuntu 22.04 LTS
Open Microsoft Store.
Search for Ubuntu 22.04 LTS.
Click Get/Install to download and install.
4. Initialize Ubuntu
Launch Ubuntu 22.04 from the Start Menu.
Wait for the installation to complete.
Create a username and password when prompted.
Conclusion
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart