Linux is a favoured operating system for developers and tech enthusiasts. It is an open-source platform that offers flexibility, security, and more.
However, many users still use Windows 11 for day-to-day tasks and workflows. Fortunately, Microsoft allows you to download and run Linux distributions, such as Ubuntu, on Windows OS through the Windows Subsystem for Linux (WSL).
You can watch the video here or continue reading the article below:
In this article, we’ll explain how to install Ubuntu on Windows 11 easily.
Here’s what we will cover:
- Why use Ubuntu on Windows 11?
- How to install Ubuntu on Windows 11?
- Set up your new Linux environment
Why use Ubuntu on Windows 11?
Before explaining the installation process, let us understand why you should use Ubuntu on Windows 11:
- Development environment: Ubuntu offers a comprehensive development environment, offering a wide range of tools and libraries that might not be as easily accessible on Windows.
- Command Line Interface (CLI): The Command Line Interface (CLI) in Linux is exceptionally adaptable and is preferred by numerous developers for its versatility and efficiency.
- Software compatibility: Many open-source software and tools are tailored to perform optimally on Linux.
- Learning and experimentation: Utilising Ubuntu on Windows with Linux without dual-booting or employing a separate machine.
Also read: Linux vs Windows: Should you prefer Linux for a low-spec PC?
How to install Ubuntu on Windows 11?
Before you start, ensure you have the following:
- Windows 11 with the latest updates.
- An active internet connection.
Command Prompt method
To install Ubuntu on Windows 11, you first need to enable WSL and follow these steps:
Step 1: Open Command Prompt by right-clicking the Start menu and pressing Terminal.
Step 2: Now, type wsl --install
This command will enable the necessary components for WSL and install the default Linux distribution. It may take a few minutes, and once the installation is complete, you’ll need to restart your computer.
With the WSL enabled, you can now install Ubuntu. There are two primary methods: the Command Prompt or the Microsoft Store. We’ll deal with the Microsoft Store later.
Step 3: Type wsl --list --online
in the Command Prompt to see the Linux distributions that can be installed.
Step 4: Now, type wsl --install -d Ubuntu-22.04
to download and install the Ubuntu distribution.
Microsoft Store method
In case you are not comfortable typing commands on Command Prompt, you can install Ubuntu via Microsoft Store:
Step 1: Search Microsoft Store and click on it to open it.
Step 2: In the search bar, type Ubuntu and select the version you want to install. To guarantee authenticity, ensure it is from Canonical Group Limited.
Step 3: Click Get and wait for the installation to complete.
Set up your new Linux environment
After you have finished installing Ubuntu on Windows 11, let us set up your new Linux environment. You can launch Ubuntu from the Start menu or the Command Prompt. Follow the on-screen instructions to create a new username and password.
After setting up your account, you can access the Ubuntu terminal to run all your usual Linux commands.
Following the above steps, you can easily download Ubuntu on Windows 11. If you want to reinstall Ubuntu, head to our article on how to reinstall Ubuntu on Windows.
Also read: How to update Nvidia drivers on Windows 11?