Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Windows » Various methods to install Windows Subsystem for Linux
  • images 2
    AnyConnect SSL VPN Client Configuration Guide Network | Monitoring
  • https   specials images.forbesimg.com imageserve 4c098735a05b4251a85e8505c91f1837 0x0
    Fix insufficient access rights to perform this operation when trying to enable Active Directory Recycle Bin Windows Server
  • Configure Data Deduplication on Windows Server
    How to Configure Data Deduplication on Windows Server 2022 Windows Server
  • apache ubuntu 20 04
    How to Install Apache HTTP Server on Ubuntu 20.04 LTS Linux
  • 1723152 3cc3 2 750x405 1
    Cluster creation in Proxmox VE Virtualization
  • Screenshot 2020 06 22 at 22.46.00
    How to use a dedicated MsSQL Db for Pleasant Password Oracle/MSSQL/MySQL
  • VMware Error Fix
    How to fix “The process cannot access the file because another process has locked a portion of the file” Virtualization
  • screenshot 2020 05 11 at 15.03.02
    How to record the screen of macOS Mac

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.

  • 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
  • Share on Threads (Opens in new window) Threads
  • 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

  • BitLocker MBAM Frequently Asked Questions
    Disable the Sleep Mode: UEFI and TPM and BitLocker FAQs Windows
  • Featured image DNS Server settings
    Do not use Public DNS in Prod: Change DNS Server in Windows Network | Monitoring
  • VRAM on Windows 1
    Check the Size of Video Random Access Memory (VRAM) in Windows Windows
  • blog banner 1
    Reset and reinstall Windows 10 from the cloud and how to recover your Windows 10 when you cannot boot to Windows Windows
  • How To Put Multiple OS ISO Files In One Bootable USB Disk
    USB Drive: Create a Multiboot with Multiple OS ISOs Windows
  • banner 1
    How to Create Shared Folder in Windows Sandbox Virtualization

More Related Articles

BitLocker MBAM Frequently Asked Questions Disable the Sleep Mode: UEFI and TPM and BitLocker FAQs Windows
Featured image DNS Server settings Do not use Public DNS in Prod: Change DNS Server in Windows Network | Monitoring
VRAM on Windows 1 Check the Size of Video Random Access Memory (VRAM) in Windows Windows
blog banner 1 Reset and reinstall Windows 10 from the cloud and how to recover your Windows 10 when you cannot boot to Windows Windows
How To Put Multiple OS ISO Files In One Bootable USB Disk USB Drive: Create a Multiboot with Multiple OS ISOs Windows
banner 1 How to Create Shared Folder in Windows Sandbox Virtualization

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

  • images 2
    AnyConnect SSL VPN Client Configuration Guide Network | Monitoring
  • https   specials images.forbesimg.com imageserve 4c098735a05b4251a85e8505c91f1837 0x0
    Fix insufficient access rights to perform this operation when trying to enable Active Directory Recycle Bin Windows Server
  • Configure Data Deduplication on Windows Server
    How to Configure Data Deduplication on Windows Server 2022 Windows Server
  • apache ubuntu 20 04
    How to Install Apache HTTP Server on Ubuntu 20.04 LTS Linux
  • 1723152 3cc3 2 750x405 1
    Cluster creation in Proxmox VE Virtualization
  • Screenshot 2020 06 22 at 22.46.00
    How to use a dedicated MsSQL Db for Pleasant Password Oracle/MSSQL/MySQL
  • VMware Error Fix
    How to fix “The process cannot access the file because another process has locked a portion of the file” Virtualization
  • screenshot 2020 05 11 at 15.03.02
    How to record the screen of macOS 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,825 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.