Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Install Ubuntu 20.04 LTS on Windows via WSL

Posted on 18/01/202315/08/2026 Imoh Etuk By Imoh Etuk No Comments on Install Ubuntu 20.04 LTS on Windows via WSL
  1. Home
  2. Linux
  3. Install Ubuntu 20.04 LTS on Windows via WSL
Ubuntu-on-Windows

Microsoft introduced the Windows Subsystem for Linux to make it easy for users to run Linux OSes such as Ubuntu and issue Bash commands directly from the Windows command prompt interface. Windows Subsystem for Linux (WSL) is a feature of Windows that allows developers to run a Linux environment without the need for a separate virtual machine or dual booting. Both Windows 10 and Ubuntu are operating systems. The software package known as the operating system controls the computer by managing the hardware and software instructions. Windows was first introduced in Windows in 1985. In this guide, you will learn how to install Ubuntu 20.04 LTS on Windows via WSL.

Windows has remained a well-known operating system since its inception. It has undergone a great deal of improvisation, and the fact that it is the operating system of choice for the majority of personal computers indicates how popular it has become. You can read more related guides on Linux by checking out the following posts: How to Switch between Users in Linux ,  How to Add a User to the Sudoers List in Linux, and a brief Introduction to Linux and how to create disk partition in Ubuntu Linux.

Microsoft released the first Windows 11 preview build and SDK to Windows Insiders on June 28, 2021, and later announced that Windows 11 would debut on October 5, 2021, on August 31st, 2021. Following the release, Windows 11 has remained the Operating System of choice for Windows Users.

Installing Ubuntu on Windows 11

To install Ubuntu on Windows 11, follow the below steps: Please refer to these related guides also: How to Create Symbolic Links in Linux and How to Set Special File Permissions in Linux using SUID, GUID, and Sticky Bit

Step 1 – Turn on WSL – Windows Subsystem for Linux

To do this, navigate to the control panel session with the appwiz.cpl command by pressing the Windows Key + R together.

Windows-Run-command

This opens the Control Panel window will open and take you directly to the all programs page. From the left-hand side of the screen, click on "Turn Windows Features on or off"

Turn-on-or-off-windows-features
Turn Windows Feature on or off

The Turn Windows features on or off screen will open up, scroll to where you have Windows Subsystem for Linux and check the dialog box beside it,

Turn-windows-feature-on-or-off1
Enabling WSL

Click on Okay, and then restart your PC for the changes to take effect.

Enabling-WSl-in-progress
Restart-the-computer

Step 2 – Install Ubuntu from Microsoft Store

Search for the Microsoft store using the search bar icon on your Windows taskbar.

Search-for-Microsoft-Store
Searching for Microsoft Store

When you’re on the store page, search for Ubuntu 20.04.5 LTS

Ubuntu-20.04.5LTS-from-Microsoft-Store
Searching for Ubuntu 20.04.5 LTS

Click on get and then open after the downloads.

Click-on-get-Ubuntu-20.04.5-LTS
Click-to-open-the-Ubuntu-after-the-download

On opening it, the application will through an error similar to the one shown below:

First-Error-Update-the-Kernel
Error while Opening Ubuntu for the first time

Step 3 – Update the WSL2 Kernel Components

To resolve the above error, we need to update the WSL 2 Kernel’s component. Click here to download the latest version of the WSL component.

You can check your system type by running the below command to confirm your system type if you’re not sure of it:

systeminfo | find "System Type"
Check-system-type
Checking System type

Check your download folder to locate the WSL 2 download you carried out previously:

Locate-the-WSL-download-file-in-the-download-folder-and-run-the-installtion
WSL Update Downloaded

Double-click on the setup file to install it and click Next

Double-click-on-WSL-to-run-the-installation
Installing WSL2 Updates

When prompted for user access permission, click on Yes to continue and then click on Finish to complete the installation.

Click-on-Yes-when-prompted
Click-on-finish-when-the-installation-is-complete

Step 4 – Launch Ubuntu

To complete the Ubuntu installation, relaunch Ubuntu 20.04.5 LTS application installed previously by searching and clicking on the name and to open it:

Installing-Ubuntu
Installing Ubuntu 20.04.5 LTS

A console window will open the first time you run a newly installed Linux distribution, and you’ll be instructed to wait a few minutes while files decompress and are stored on your computer.

Step 5 – Set the Default Unix User

The next thing to do is to enter the name of the new Unix user to complete the installation

Installation-is-successful
Entering the Username for the Unix User

Step 6 – Update System Packages

Optionally, you can go ahead and run the sudo apt update command to update the system packages to get your Ubuntu 20.04.5 LTS set for use.

Update-system-packages
Updating System Packages

Installing Windows Terminal

Installing a Windows terminal is an optional step but it will help you to launch your Linux Distribution within your Windows Command prompt terminal. With a Windows terminal, you can open numerous tabs or window panes in the Windows Terminal to display and rapidly move between various Linux distributions or other command lines (PowerShell, Command Prompt, Azure CLI, etc). Your terminal can be completely customized with different colour schemes, font styles, sizes, custom keyboard shortcuts, and background images.

To install Windows Terminal, search for it on the Microsoft Store on your PC. Click on get to download it and then click on open to open it after the installation.

Get-the-Windows-Terminal-Preview
Open-Windows-Terminal-Preview

You will be able to switch tabs rapidly and move between various Linux distributions or other command lines (PowerShell, Command Prompt, Azure CLI, etc)

Click-on-the-tab-pointer
Windows Terminal Screen

In this guide, you have learned how to install Ubuntu 20.04 LTS on Windows via WSL.

Summary

Having Ubuntu or any other Linux distribution installed directly on your Windows PC is a great way to switch between Windows and Linux OS easily without having to install a virtualization tool like Oracle Virtualbox or VMWare. It’s also a good way to master your Linux command skills on a daily basis.

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Linux, Windows Tags:Microsoft Windows, Ubunt 20.04 LTS, Ubuntu, Windows 10, Windows 11, Windows Subsystem for Linux

Post navigation

Previous Post: Python Automation in Windows with Visual Studio Code
Next Post: How to delete AWS S3 Bucket and Objects via  AWS CLI from Linux

Related Posts

  • nextcloudfeature 1
    How To Install Nextcloud on a Linux system Backup
  • Featured image
    Domain Naming System: Enabling DNS over TLS in Windows 11 Network | Monitoring
  • queryremoteinstalledapps
    Get a list of installed programs locally or remotely in Windows Windows
  • Featured image This network connection does not exist
    How to fix this network connection does not exist Windows
  • image 41
    How to Quickly Fix Windows Search Bar Not Working Windows
  • windows hello la gi
    All you need to know before deploying Windows Hello for Business Key and Certificate Trust Windows

More Related Articles

Prevent Local Administrators from turning off BitLocker 1 Prevent Local Administrators from managing BitLocker with the manage-bde command Windows
sshfs Mounting remote directory using sshfs Linux
windows update 03 Check if Windows Updates were installed via the Registry Editor Windows
microsoft edge How to configure static page in Microsoft Edge browser via Local Group Policy on Windows Windows
RDP Certificate Issues Connecting to the RDP host: Fix the Certificate could not be verified back to the root certificate Mac
Screenshot 2020 12 06 at 17.44.32 Windows cannot connect to the printer: Operation Failed with error 0x000004f8 Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • Azure Backup Copy 1
    How to Delete Backup Job in Recovery Services Vault AWS/Azure/OpenShift
  • PowerShell
    How to setup PowerShell on a Linux server Scripts
  • Docker Guide
    Pull and Deploy Nginx Container Images from Docker Hub AWS/Azure/OpenShift
  • DSM Quick connect error 11
    Fix Synology QuickConnect error=11 After a DSM Update Network | Monitoring
  • microsoft edge
    How to configure static page in Microsoft Edge browser via Local Group Policy on Windows Windows
  • fghj
    How to enable or disable DotNet Framework (NetFx3) Windows
  • Printer
    How to rename a Printer in Windows 10 Windows
  • Turn bluetooth on and off
    Unable to Turn Bluetooth On or Off on Mac Mac

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,734 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.