Forum Discussion

ammarjaved's avatar
ammarjaved
Iron Contributor
Aug 31, 2021

How to install the Linux Windows Subsystem in Windows 11

How to install the Linux Windows Subsystem in Windows 11

 

Install using Command Prompt
Step 1: Start CMD with administrative privileges.
Step 2:Execute "wsl --install" command.
Step 3:Run "wsl -l -o" to list other Linux releases.
Step 4:You can install your favorite Linux distribution, use "wsl --install -d NameofLinuxDistro."

When the operation is finished, restart your PC.You can start the Linux distribution from your Start menu.

 

Install Using Windows Features
Step 1:Open the Start menu and type "Windows features" into the search bar and click on "Turn Windows Features On or Off".
Step 2:Tick the "Windows Subsystem for Linux" checkbox and press the “OK” button.

Step 3:When the operation is complete, you will be asked to restart your computer.

After that, use the Microsoft Store app and look for the Linux distribution you want to use.
Install the Linux distro of your choice.

Step 4:The Linux distribution can be launched from the Start menu.

73 Replies

    • YashAdhyapak5708's avatar
      YashAdhyapak5708
      Copper Contributor

      Salam9 turn on the windows features in search bar and in that tick the virtual machine, windows subsystem Linux options and then run the command line for the installation of Linux operating system

      • kaushik_acharya's avatar
        kaushik_acharya
        Copper Contributor

        YashAdhyapak5708 

        I agree with Yash.
        Even though howtogeek article mentions to switch on only the WIndows Subsystem for Linux feature, but the installation would prompt you to enable Virtual Machine Platform feature too.

    • Barry_Bazza's avatar
      Barry_Bazza
      Brass Contributor

      @Salam9

       

      Download the latest package: https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

       

      Navigate to your Downloads folder and run the MSI file. 👍

  • DanielePP's avatar
    DanielePP
    Copper Contributor

    Hi,

    I tried to write the wsl --install comand in my cmd prompt, ( in windows 11 ) but it doesn't work , after i write wsl --install it shows a list of comands but it doesn't start the Ubuntu installation. I have already installed Docker in my PC. Could you help me please ? Thank you best wishes

Resources