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

Running WSL and Virtual Machine Platform commands in PowerShell.
Running WSL and Virtual Machine Platform commands in PowerShell

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

Ubuntu 22.04 LTS terminal running on Windows after installation.
  1. Ubuntu 22.04 LTS terminal running on Windows after installation


  • Launch Ubuntu 22.04 from the Start Menu.

  • Wait for the installation to complete.

  • Create a username and password when prompted.

Conclusion

Installing Ubuntu 22.04 LTS on Windows with WSL 2 is simple, efficient, and perfect for developers, students, or anyone curious about Linux. You don’t need to set up dual-boot or VirtualBox—WSL 2 provides a seamless integration between Windows and Linux. By following this guide, you can start exploring Ubuntu right inside your Windows environment and enjoy the flexibility of running both operating systems side by side.

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
Previous Post
No Comment
Add Comment
comment url