Aug 30 2021 10:15 PM - last edited on Nov 09 2023 11:09 AM by
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.
Dec 26 2022 07:20 AM
Such ingnorant posts I tend to ignore but your un-called-for beligerence meant I could not resist.
My suggestion, if you are able to and paying attention to the article date, is to read the article (link below) carefully and then contact ALL 8 contributors and let them know they are all wrong.
Install Linux on Windows with WSL
wsl --install
This command will enable the features necessary to run WSL and install the Ubuntu distribution of Linux.
Article dated: 23/11/2022
Jan 04 2023 01:43 AM
@Barry_Bazza ok, so I did everything that was mentioned “ wsl - - install “ it did download the Ubuntu version. But now in windows 11 it’s asking me “ check and make sure it is enabled in bios “ how do I do this is windows 11 I know win8 not 11. Please help.
Jan 04 2023 01:51 AM
Go to your BIOS and enable SVM Mode on AMD CPUs or Intel Virtualisation Technology on Intel CPUs. next, make sure WSL is enabled by running this in powershell:dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Jan 04 2023 03:40 AM - edited Jan 04 2023 11:05 PM
I am unable to install WSL using the command prompt in Windows 11.
wsl --install command throws the following error:
An error occurred in the secure channel support
I checked Security section under Internet properties.
TLS 1.0, 1.1, 1.2, 1.3 all are enabled.
I searched over the internet for a solution but couldn't find any.
Pre-requisites:
Are there any pre-requisites that needs to be set before running the wsl install command in the command prompt?
Is it necessary to enable the following as a pre-requisite in the Windows Features:
I can't see any such pre-requisite mentioned in the above doc. Rather it says
This command will enable the features necessary to run WSL and install the Ubuntu distribution of Linux.
Thanks in advance.
UPDATE:
Jan 04 2023 10:46 PM
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.
Jan 09 2023 08:49 PM
Everything lines up and looks good but when I try to install AISLERIOT
Sudo apt install Aisleriot It looks good
Then I type Aisleriot to open NOTHING.
When I look in the search Nothing. I did Linux on several PCs but this was first Lenovo. Any thought's Thanks
Jan 14 2023 02:28 PM
Mar 16 2023 08:49 AM
Mar 16 2023 03:56 PM
Apr 01 2023 05:26 PM
install at aka.ms/wsl2kernel
Apr 01 2023 07:38 PM
To install the Linux Windows Subsystem (WSL) in Windows 11, follow these steps:
After your computer restarts, you'll be able to use the Linux Windows Subsystem on Windows 11. You can install Linux distributions from the Microsoft Store or by downloading a distribution from the official website and manually installing it using PowerShell. To use the Linux terminal, open the Start menu and search for the name of the Linux distribution you installed. Good Luck!
May 13 2023 07:31 AM
@sometimes, guys, do not reply that wsl crashed with 0x800701bc
use this command in cmd: wsl --set-default-version 1
and trya again
May 27 2023 05:57 PM
May 29 2023 12:57 AM
Are you using the right name @archjizee? Doing a search for installable distributions using the top command (see image for output), I was able to determine the name of the distribution to be kali-linux. Using this name, I was able to install the distribution using the second command.
# Search for all available distros
wsl --list --online
# Install kali
wsl --install -d kali-linux
Jul 12 2023 04:17 AM
@DanielePP i had a similar issue that was solved by opening the terminal as an admin
Aug 28 2023 11:04 PM
I only used wsl --install and it installed the latest version of Ubuntu on its own so it may depend on your system.
Oct 03 2023 11:57 PM
@ammarjaved what should i do for this?
Oct 19 2023 03:44 AM
Dec 29 2023 10:09 PM