Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » Various methods to install Windows Subsystem for Linux
  • unnamed 2
    How to create a contact in Active Directory Windows Server
  • microsoft
    Fix EFI network timeout on VMware Workstation Virtualization
  • bypass windows login main img
    How to disable auto login in Windows Windows
  • image 166
    How to deploy a .NET application to AWS Elastic Beanstalk using AWS Tool Kit AWS/Azure/OpenShift
  • hero windowsadmincenter
    How to set up Windows Admin Center on a Windows Server Windows Server
  • Implementing DHCP Server
    Comprehensive Guide to Install DHCP Server on Windows Server Windows Server
  • Featured image  Install new fonts
    How to install new fonts in Microsoft Office Windows
  • AWS Budgets
    How to create AWS Budget AWS/Azure/OpenShift

Various methods to install Windows Subsystem for Linux

Posted on 30/04/202208/12/2023 Matthew By Matthew No Comments on Various methods to install Windows Subsystem for Linux
wsl5678uh

Windows Subsystem for Linux (WSL) allows you to execute Linux applications on a Windows 11 computer. Windows can run a Linux distribution alongside Windows when WSL is enabled. WSL can be enabled on all major versions of Windows 11, thus you don’t have to upgrade from Windows 11 Home to Pro to take advantage of it. 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, and how to install and uninstall Docker Desktop on Windows 10 and Windows Server.

After installing WSL, access the Linux shell through the new Windows terminal. You may then use commands to install and run Linux applications alongside Windows applications. Windows 11 now supports Linux programs that require GPU access, making it a useful tool for a variety of users.

Windows 11 uses WSL 2.0, which runs a full Linux kernel in a Hyper-V environment. Here’s how to install the Windows Subsystem for Linux on your Windows 11 computer. Please also see how to install WSL on Windows Server via Server Manager and PowerShell.

Install Windows Subsystem for Linux via the Command Prompt

The Command Prompt or PowerShell are the easiest ways to install WSL on Windows 11. You can perform this with either tool, depending on which environment you want. To do so, go to the Start menu (or press the Windows + r key) and input cmd or Powershell, then launch as administrator.

WSL installation

With a single command, you can install and enable WSL from your admin-level PowerShell or Command Prompt window. To do so, press Enter after typing the following command:

wsl –install
Linux on Windows

You’ll have to wait while Windows 11 activates WSL, activates GUI program support, and installs Ubuntu, the default Linux distribution. In the window, you can see how far the installation has progressed.

  • Once the process completes, a notification will prompt you to restart your Windows 11 computer for installation completion.
WSL commands

Sign in to Windows when your PC has rebooted, and you should be able to utilize your Linux system. To begin with WSL, access the Start menu and locate Ubuntu under the “Recently Installed” section. You may also look for it in the app list by its name.

Windows 11 Linux

Please see 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 to Install Linux Distributions from the Microsoft Store

If you don’t want to use a command-line program, you may use the Microsoft Store to install Linux. Before installing, ensure that you meet the following requirements:

  • You are running Windows 11 (build 22000 or higher)
  • Virtual Machine Platform is optional and Windows Subsystem for Linux feature is enabled

To check the build number, open the ‘About Windows’ by pressing the windows

key + r

Then type the below in the search field, as shown in the following screenshot.

winver 
Linux on Windows
WSL installation

The OS build number must be higher than 22000. If it is not, then WSL cannot be installed by following this guide. The second prerequisite to verify is the Virtual Platform feature and Windows Subsystem for Linux. Open the Window run command

Press windows key + r) and enter optionalfeatures.exe.
WSL commands

In the “Windows Features” box, select the Windows Subsystem for Linux and Virtual Machine Platform and click OK.

Screenshot-2022-05-01-at-00.43.33

Allow some time for the changes to complete, then restart your PC. WSL components may now be downloaded as a preview version from the Microsoft Store, much like other Windows apps. To install the WSL application from the Microsoft Store, open it and search for the Windows subsystem. 

Open the Microsoft Store and search for the Windows subsystem to install the WSL program. 

Screenshot-2022-05-01-at-00.44.29

Click on the item Windows Subsystem for Linux Preview to open the corresponding application page.

Screenshot-2022-05-01-at-00.45.25

Click on Get to download and install the application. Upon installation, you can click on Open, but it will not do much since there is no Linux distribution installed. You can now proceed with the installation of any Linux distribution.

You should see several distributions available to you, including Kali Linux, Debian, Ubuntu, etc. Choose the Linux distribution you want to use, then click Get to begin installing it.

Screenshot-2022-05-01-at-00.46.36

The Microsoft Store will download and install your Linux distribution at this point—allow some time for this to complete. As with the command prompt method above, you’ll find it in the Start menu after installation is complete.

Finally, running the Windows Subsystem for Linux on Windows 11 allows you to use Linux programs and services without having to reinstall or dual-boot your computer.

WSL is the ideal method to run Linux software on a Windows PC, and you can always switch to a different distribution via the Microsoft Store or the new Windows Terminal app if you don’t like the one you’re using.

I hope you found this blog post on how to Install Windows Subsystem for Linux 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
Windows Tags:Microsoft Store, Microsoft Windows, Windows 10, Windows 11, Windows Server 2016, Windows Subsystem for Linux

Post navigation

Previous Post: How to install and configure JIRA on Linux
Next Post: EFK Stack Installation on Docker

Related Posts

  • Windows Image Converation from Evaluation to retail Edition
    Convert Windows Server Essentials or Evaluation to Retail Edition Windows
  • ETWindows
    An Overview of Event Tracing for Windows Windows
  • Featured image
    How to Disable or Uninstall OneDrive on Windows 10 and 11 Backup
  • chocolatey
    Windows Package Manager: How to install, upgrade or uninstall Chocolatey Windows
  • Copy and Paste Between HyperV VMs and host
    Copy and Paste between your device to a VM running in Hyper-V Windows
  • slide10
    Add Dynamic Wallpaper controlled by time on Windows 10 and 11 Windows

More Related Articles

Windows Image Converation from Evaluation to retail Edition Convert Windows Server Essentials or Evaluation to Retail Edition Windows
ETWindows An Overview of Event Tracing for Windows Windows
Featured image How to Disable or Uninstall OneDrive on Windows 10 and 11 Backup
chocolatey Windows Package Manager: How to install, upgrade or uninstall Chocolatey Windows
Copy and Paste Between HyperV VMs and host Copy and Paste between your device to a VM running in Hyper-V Windows
slide10 Add Dynamic Wallpaper controlled by time on Windows 10 and 11 Windows

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

  • unnamed 2
    How to create a contact in Active Directory Windows Server
  • microsoft
    Fix EFI network timeout on VMware Workstation Virtualization
  • bypass windows login main img
    How to disable auto login in Windows Windows
  • image 166
    How to deploy a .NET application to AWS Elastic Beanstalk using AWS Tool Kit AWS/Azure/OpenShift
  • hero windowsadmincenter
    How to set up Windows Admin Center on a Windows Server Windows Server
  • Implementing DHCP Server
    Comprehensive Guide to Install DHCP Server on Windows Server Windows Server
  • Featured image  Install new fonts
    How to install new fonts in Microsoft Office Windows
  • AWS Budgets
    How to create AWS Budget AWS/Azure/OpenShift

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.