How to Install Ubuntu on Windows 10 (WSL – easy way)

In this article, we’ll learn to install Ubuntu on Windows. Windows Subsystem for Linux or WSL is a functionality developed by Microsoft to use basic Linux functionalities natively on its Windows 10 operating system and Windows 10 Server.

With help of WSL, you no more need to dual-boot your system or have a Linux VM (Virtual Machine) to use the Linux environment because it provides all the command-line tools, applications, and utilities needed by most Linux users.

WSL makes your Windows system do all that natively, like running Linux binaries and operating on Windows files using Linux terminal.

In this article, we will go through the complete process on installing WSL on your Windows powered desktop.

Pre-requisites for WSL

There are few basic pre-requisites to get Ubuntu WSL up and running on your Windows system, like –

  1. Pre-installed Windows OS on your system
  2. A good Internet connection
  3. Microsoft Store signed in with a Microsoft Account

If you haven’t yet signed-in to Microsoft Store, click on Add Account Icon icon at the top-right in Microsoft Store. And log-in with your credentials.

Steps to Install Ubuntu on Windows

Let’s get started with set up and install Ubuntu on Windows.

1. How to enable WSL on your Windows system?

For setting up WSL on your Windows system, you need to enable a few Windows features as they are set to OFF by default. You can also turn these features ON by using PowerShell commands, as seen in most articles related to WSL.

Click on Windows 10 Logo Png Download 512512 Free Transparent Windows Windows Key Png 900 520key and search for “windows features“, it will show the “Turn Windows features on or off” option from Control Panel.

Double click or hit Enter to open it and a dialog box will appear.

Windows Features
Windows Features

From this dialog box, tick on the checkboxes “Virtual Machine Platform” and “Windows Subsystem for Linux”.

Windows Features Turn On WSL
Windows Features Dialog Box

Now, you have enabled WSL (Windows Subsystem for Linux) for your system. Apart from this, you need to have a Linux distribution for your WSL, which we will download and install via Microsoft Store.

2. Install Ubuntu on your WSL

Now, open your Microsoft Store and search for Ubuntu.

Search Results Ubuntu
Search Results – Ubuntu

Choose any of the listed Ubuntu distributions from the search results, and it will show an Install button above the application panel. Click on the Install button and wait for a moment, the installation will shortly begin.

Note: Make sure you have logged-in to the Microsoft store, else it will prompt you to login after clicking on Install.

Microsoft Store Ubuntu
Installing Ubuntu WSL from Microsoft Store

After all this, on first startup your WSL will ask to setup log-in credentials for your WSL, to finish installation.

3. Running Ubuntu distribution using WSL

After the Ubuntu WSL (Windows Subsystem for Linux) is installed, a Launch button will appear. Click on the Launch button to start the Ubuntu WSL.

You can also open it from your Start menu, as a new entry named “Ubuntu” will be added there for easy access.

Ready To Launch WSL
Ready To Launch Ubuntu WSL

When you launch the Ubuntu WSL for the first time, it will ask you to wait for some time to complete its setup and after that it will ask you to enter login credentials of your choice.

WSL Setup
Setting up log-in credentials for Ubuntu WSL

After setting up the credentials, your Ubuntu WSL is ready.

WSL Start
WSL setup completed

To check if your Ubuntu WSL works properly, you can run any Linux command of your choice as now you have a fully operational Linux terminal which can run anything natively as your original Linux system does.

WSL Started
Checking WSL

Bonus

  1. You can run the native terminal of Ubuntu, OpenSUSE, Kali with WSL on your Windows machine.
  2. You can find any of the supported distributions for your WSL on Microsoft Store and use it.
  3. The Linux Kernel used by Microsoft’s WSL is openly available on GitHub, you can check out its code here.

Conclusion

In this article, we learned the process for setting up WSL (Windows Subsystem for Linux) on our Windows system and how we can use all the basic Linux functionalities on our system without doing much hassle. We also discussed that we can also use various other distributions with WSL, which are available on Microsoft Store.