createose.blogg.se

Instal the new for windows
Instal the new for windows










instal the new for windows instal the new for windows instal the new for windows

wsl -d įrom here on out, you're ready to go forth and install all the Linux you want. But if you have multiple, you can launch a specific distro with this command. In PowerShell will launch you into the associated bash shell. If you only have one version of Linux installed, simply typing wsl You can launch into WSL from PowerShell regardless of which terminal app you use. You're able to set either as default as well as setting a version specifically to each Linux distro you have on your PC. 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. Fortunately, you can do this in two ways. 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. WSL is now distributed through the Microsoft Store and the simplified installation process will pull this version in. Alternatively, if you want a non-Ubuntu distribution installed you can add its name after the install command.












Instal the new for windows