Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Linux » Windows Subsystem for Linux: How to install WSL on Windows 10
  • image 64
    How to install Fax Server on a Windows Server Windows
  • Object First OOTBI Appliance Configuration
    How to Configure Object First OOTBI Appliance Backup
  • How to Manage Azure Virtual Machines with Windows Admin Center and Serial Console​
    Manage Azure Virtual Machine with Windows Admin Center and Serial Console AWS/Azure/OpenShift
  • Dockerxx1
    How to install and uninstall Docker Desktop on Windows 10 and Windows Server Containers
  • FileZilla
    Access FTP Server from your browser: How to create a shortcut and access Filezilla from Windows Explorer Windows Server
  • article 1280x720.192a2586 1
    How to apply Windows Updates from WSUS to AWS Instances AWS/Azure/OpenShift
  • fgh
    Configure log on as a batch job permissions on any server Windows Server
  • Embed Microsoft Forms into Your Website Page
    How to Embed Microsoft Forms into Your Website Page Microsoft Exchange/Office/365

Windows Subsystem for Linux: How to install WSL on Windows 10

Posted on 26/04/202011/09/2023 Christian By Christian No Comments on Windows Subsystem for Linux: How to install WSL on Windows 10
install WSL on Windows 10

Windows Subsystem for Linux (WSL) has been available for Windows 10 since 2017 and is a complete operating system that you can enable on your Windows Server and also on Windows 10 devices. For more on WSL, please see the following link. Previously, “WSL” was originally known as the “Bash on Windows” feature and it allowed users to use Ubuntu bash commands in Windows PowerShell. On how to install the Linux Subsystem (WSL) on Windows Server Server Manager and PowerShell, see the following guide, and on how to reset Windows 10.

Here are some related guides: What is Windows Subsystem for Linux (WSL), how to install WSL on Windows 10, how to install WSL on Windows Server via Server Manager and PowerShell, how to install and uninstall Docker Desktop on Windows 10 and Windows Server, how to install and upgrade Docker Engine from binaries on Windows Server, and how to Pull your first Nginx Container Image from Docker Hub and deploy it to your local machine.

How does the Windows Subsystem for Linux (WSL) work?

WSL translates the Linux system calls returned by the process to the Windows kernel calls while a Linux Distro sits on top. It is thus eliminating the need for the Linux kernel in the process. So basically, it is Linux inside Windows. Furthermore, there is no emulation involved whatsoever.

In this Windows 10 WSL tutorial, we’ll show you how to install the Windows Subsystem for Linux in two methods. Note: After installing WSL, the Distro can be download or installed from Microsoft Store.

  • The Graphical User Interface (Windows Settings or Control Panel)
  • Via PowerShell

Part A: Via the Graphical User Interface (GUI)

Follow step 1 and step 2 below in order to install WSL on your device. On how this can be installed via Windows Settings, see the following link.

Step 1 – Control Panel: Launch the control panel as shown below

Launch the Control Panel

Next, click on “Turn Windows feature On or Off” as shown below

Click on "Turn Windows feature On or Off"

This will on a window to Turn Windows Feature On or Off as shown below.

Select Windows Subsystem for Linux

This process will search and apply the required files as shown below

Applying changes

Next, you will be requested to restart now. Simply click on Restart now.

Restart your PC

This restart is required in order to ensure that WSL can initiate a trusted execution environment.

Step 2 – Install the Linux Distro of your choice via Microsoft Store

Launch the Microsoft store and install your desired distro. The Linux distros that can be downloaded from the Microsoft Store and run via WSL are the complete Linux package, at least in terms of core functionality, with zero emulation required. So yes, by installing WSL and downloading a distro from the Microsoft store, you are running Linux in Windows.

Note: In this way, you will not have to download the distribution from Microsoft website. With the following steps, you are good to go.

– Search for your desired WSL Distro and

Search for your desired Linux Distro

– Next, double-click on Ubuntu 18.04 LTS as shown above
– Click on Get.

Click on get

You will be required to sign in
– For me, I will not and will select “No, thanks” as shown below

Click on No Thanks

It will prompt you to install, but if you do not click on Install, it will automatically begin the installation after a while. As you can see below.

Downloadiloading the Ubuntu 18.04 LTS for linux

When this step completes, you will be prompted to launch the Ubuntu WSL as shown below

Launch the Ubuntu WSL

Note: If you do not have Windows Subsystem for Linux enabled. This will not work and you will be prompted with the error below. See this link for more information

Installation in progress

Since WSL in installed, when you click on launch this will fire up a terminal. This will open a Linux terminal and complete the installation.

You’ll need to create a user ID and password since you are setting up a full Linux instance. You are now running Linux on Windows.

If you would like to test how the steps above can be done via PowerShell, follow the steps below.

Part B: Via PowerShell

Before installing any Linux distros for WSL, you must ensure that the “Windows Subsystem for Linux” optional feature is enabled.
Step 1: To ensure WSL for Linux is installed on Windows 10, run the following command below in PowerShell

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Step 2: Install the Linux distro of your choice. To get this work, I was able to enter https://aka.ms/wsl-ubuntu-1604 on my Web browser and download Ubuntu for WSL as shown below. For more information on how this is done, see the following link.

For other distros, see the links below. You do not need administrative privileges to install the distribution because this takes place in the user's profile.

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

Rate this post

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

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Linux Tags:Linux distro, Microsoft Windows, Windows 10, Windows Subsystem for Linux

Post navigation

Previous Post: WSL Error 0x8007019e: WSL Register Distribution failed with error
Next Post: How to install and configure Ubuntu Linux on VirtualBox

Related Posts

  • discorddd
    Discord Installation Guide for Linux System Linux
  • SSL on WAMPServer
    Setup VirtualHost with SSL on WAMP Server Linux
  • runlevels
    How to check your current Runlevel in Linux Linux
  • linux w640 h400
    How to install and configure Ubuntu Linux on VirtualBox Linux
  • FimageUbuntuUpgrade
    How to Upgrade From Ubuntu 20.04 LTS to 22.04 LTS Linux
  • feature photo quit vim
    How to Exit Linux Vim or Vi Editor Linux

More Related Articles

discorddd Discord Installation Guide for Linux System Linux
SSL on WAMPServer Setup VirtualHost with SSL on WAMP Server Linux
runlevels How to check your current Runlevel in Linux Linux
linux w640 h400 How to install and configure Ubuntu Linux on VirtualBox Linux
FimageUbuntuUpgrade How to Upgrade From Ubuntu 20.04 LTS to 22.04 LTS Linux
feature photo quit vim How to Exit Linux Vim or Vi Editor Linux

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • image 64
    How to install Fax Server on a Windows Server Windows
  • Object First OOTBI Appliance Configuration
    How to Configure Object First OOTBI Appliance Backup
  • How to Manage Azure Virtual Machines with Windows Admin Center and Serial Console​
    Manage Azure Virtual Machine with Windows Admin Center and Serial Console AWS/Azure/OpenShift
  • Dockerxx1
    How to install and uninstall Docker Desktop on Windows 10 and Windows Server Containers
  • FileZilla
    Access FTP Server from your browser: How to create a shortcut and access Filezilla from Windows Explorer Windows Server
  • article 1280x720.192a2586 1
    How to apply Windows Updates from WSUS to AWS Instances AWS/Azure/OpenShift
  • fgh
    Configure log on as a batch job permissions on any server Windows Server
  • Embed Microsoft Forms into Your Website Page
    How to Embed Microsoft Forms into Your Website Page Microsoft Exchange/Office/365

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.