Forum Discussion
How to install the Linux Windows Subsystem in Windows 11
hi, DanielePP that is because you didn't specify the type of Linux you wanted, also the tutorials usally assume you know the full command so they tend to skip it to do you use this command say maybe for ubuntu ''wsl -- install -d ubuntu'', if it was red hat it would be "wsl --install -d redhat"
According to Microsoft the single command ''wsl --install" should automatically download and install Ubuntu.
- ItsWindows_DuhDec 22, 2022Copper Contributor
Barry_Bazza That's not true and you know better- if you bothered to read that is. Microsoft ("windows") does not state anywhere that simply typing 'wsl --install' will install any specific distro on your system. you have to specify what distro and sometimes what version. Ubuntu for example: "wsl --install -d Ubuntu-20.04" will install Ubuntu 20.04 LTS subsystem and you can adjust for what rendition you want. Don't be unnecessarily ignorant just to argue points you are unable to substantiate
- Barry_BazzaDec 26, 2022Brass Contributor
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
- ShanShan2285Aug 29, 2023Copper Contributor
I only used wsl --install and it installed the latest version of Ubuntu on its own so it may depend on your system.
- Jonathan080385Jan 04, 2023Copper Contributor
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.
- ItsWindows_DuhJan 04, 2023Copper Contributor
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