dealercas.blogg.se

How to install linux on windows
How to install linux on windows













how to install linux on windows

This means you can run Linux installs with a combination of different versions. The good thing about WSL2 is that it doesn't replace WSL1. If you want to reboot immediately, simply omit this from the end of the command. Open PowerShell as administrator and enter this command: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestartĮventually, you will need to reboot your PC, adding norestart means you won't be immediately kicked out of whatever you're doing. The first is by adding -enable-wsl1 to the install command used above.īut you can also enable the component at any time, even after you already have WSL2 up and running.

how to install linux on windows

Fortunately, you can do this in two ways.

how to install linux on windows

WSL2 is now the standard, but if for any reason you also want to use WSL1 alongside it, you'll need the optional Windows Subsystem for Linux component enabling. How to enable Windows Subsystem for Linux optional component for WSL 1 You will also require the optional Windows Subsystem for Linux component if you wish to also use WSL 1 alongside WSL 2. Alternatively, you can download it directly from its Microsoft Store listing (opens in new tab). WSL is now distributed through the Microsoft Store and the simplified installation process will pull this version in.















How to install linux on windows