How To, Linux, Linux How To, Windows Tips

How to Install Ubuntu on Windows 10 WSL

How to Install Ubuntu on Windows 10 WSL 1

The full form of WSL is Windows Subsystem for Linux. It is a feature of Windows 10 that lets you install and run a full-fledged Linux environment on Windows 10. Windows did not use any virtualization technique here. Instead, Microsoft built a way (WSL) to run Linux binaries on Windows. So, it’s fast and does not require much memory to run. In this article, I will show you how to install Ubuntu on Windows 10 using Windows WSL. Let’s get started.

Note: Follow GUI or Poweshell steps to enable WSL. Do not try both.

Enable WSL [GUI]

  • First, go to the Settings app from the Start menu.
    How to Install Ubuntu on Windows 10 WSL 2
  • Now, click on Apps
    How to Install Ubuntu on Windows 10 WSL 3
  • Now, from the Apps & features tab, click on Programs and Features as marked in the screenshot below.How to Install Ubuntu on Windows 10 WSL 4
  • Now click on Turn Windows features on or off from the Programs and Features as marked in the screenshot below.
  • How to Install Ubuntu on Windows 10 WSL 5Now, check the Windows Subsystem for Linux checkbox as marked in the screenshot below and click ok OK.
    How to Install Ubuntu on Windows 10 WSL 6
  • Now, click on Restart now. Windows 10 should reboot.

Enable WSL [Using Powershell]

  • In the search box below type Powershell. Wait for results to appear and once ready right-click on Windows PowerShell and select the Run as administrator option.
    How to Install Ubuntu on Windows 10 WSL 7
  • This will open up the PowerShell window. Copy and Paste the following command into the PowerShell terminal and press Enter:
    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  • Leave, blank or type Y and press Enter, After that restart your system.

Installing and Configuring Ubuntu on Windows 10 WSL

  • Once your computer starts, open Microsoft Store from the Start menu as shown in the screenshot below.
    How to Install Ubuntu on Windows 10 WSL 8
  • Now, search for ubuntu. As you can see in the screenshot below, you can install Ubuntu 18.04 LTS or Ubuntu 20.04 LTS at the time of this writing.
    How to Install Ubuntu on Windows 10 WSL 9
  • I decided to install Ubuntu 18.04 LTS in this article. So, I clicked on it. Now, click on Get as marked in the screenshot below to install Ubuntu. You can have the latest version. No issues for that.
  • After that, Ubuntu is being installed from the Microsoft Store. It may take a while to complete.
    How to Install Ubuntu on Windows 10 WSL 10
  • After a while, Ubuntu should be installed and click on launch. You can also find the App on you Stat Menu.
    How to Install Ubuntu on Windows 10 WSL 11
  • Now, you have to create a user account on Ubuntu. Type in the username and press <Enter>.
  • Now, type in a new password for the username you picked and press <Enter>.
  • Now, retype the password and press <Enter>.
    How to Install Ubuntu on Windows 10 WSL 12
  • Now currently you are in the user account. You can enter into the root account by typing  sudo -i
  • Type the user password. Note: Not the root password and press <Enter>
    How to Install Ubuntu on Windows 10 WSL 13
  • Just update your Sudo by typing
    sudo apt update
  • After the update type top -c you can see all the processes running in your ubuntu. To get out of that press CTRL+Z.

So, that’s how you install and use Ubuntu on Windows 10 through WSL. Thanks for reading this article.

Get more stuff
in your inbox

Subscribe to our newsletter and get interesting stuff and updates to your email inbox.

Bibith K Mathew (born on 29 July 1998) is an Indian Internet entrepreneur. He is best known as the CEO and Managing Director of TalkBate Digital Partners.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.