Check how to correctly install applications for your chosen distribution on the internet. Commands provided for the most part will work for other Linux Distributions but there may be some that use other package managers. To be sure about the difference, check Microsoft Docs: WSL - Compare versionsįor now, we are assuming that you have went with default installation (Ubuntu), terminal commands will be provided for Ubuntu. Optional: if you would like to automatically install only WSL2 version builds in future.wsl -set-version 2, replace with the one that you have.In case of Ubuntu, it most likely will look like Ubuntu-20.04. wsl -list -verbose to get your installed distribution name.Install the kernel package from the step above.wsl -shutdown to stop all WSL related processes (if any are running).Open Windows PowerShell as Administrator and run:.Use the Microsoft Docs link above (Manual Installation) and check Step 4 to receive the kernel package. Download WSL2 kernel for manual installation.If you have already used WSL, have trouble installing with wsl -install or for some reason have received a WSL1 version installation, this section is for you. Microsoft Docs: Manual installation steps for older versions of WSL If you have trouble installing WSL2 with wsl -install in general - follow this instruction from Microsoft. Microsoft Docs: Set up and best practices How to convert WSL1 to WSL2 (and manual installation) If for some reason you have receieved WSL1 kernel (or you have trouble running this command in general) - follow instructions in the section below to perform conversion.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |