If the Microsoft Store app is not available, you can download and manually install Linux distributions using these links: In these cases, while WSL itself is available, you may need to download Linux distributions directly. You may be running a Windows Server or Long-Term Servicing (LTSC) desktop OS SKU that doesn't support Microsoft Store, or your corporate network policies and/or admins do not permit Microsoft Store usage in your environment. There are some scenarios in which you may not be able (or want) to, install WSL Linux distributions using the Microsoft Store. If you run into an issue during the install process, check the installation section of the troubleshooting guide. You will then need to create a user account and password for your new Linux distribution.ĬONGRATULATIONS! You've successfully installed and set up a Linux distribution that is completely integrated with your Windows operating system! Troubleshooting installation All future launches should take less than a second. The first time you launch a newly installed Linux distribution, a console window will open and you'll be asked to wait for a minute or two for files to de-compress and be stored on your PC. The following links will open the Microsoft store page for each distribution:įrom the distribution's page, select "Get". Open the Microsoft Store and select your favorite Linux distribution. Step 6 - Install your Linux distribution of choice Open PowerShell and run this command to set WSL 2 as the default version when installing a new Linux distribution: wsl -set-default-version 2 Step 5 - Set WSL 2 as your default version WSL2 Linux kernel update package for 圆4 machinesįor more information, read the article changes to updating the WSL2 Linux kernel, available on the Windows Command Line Blog.(To run WSL from the Microsoft Store, with more frequently pushed updates, use wsl.exe -install or wsl.exe -update.). The Linux kernel update package installs the most recent version of the WSL 2 Linux kernel for running WSL inside the Windows operating system image. Step 4 - Download the Linux kernel update package Restart your machine to complete the WSL install and update to WSL 2. Open PowerShell as Administrator and run: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart Your machine will require virtualization capabilities to use this feature. Step 3 - Enable Virtual Machine featureīefore installing WSL 2, you must enable the Virtual Machine Platform optional feature. Read more: WSL 2 Support is coming to Windows 10 Versions 19. Your Build number must be 18362.1049+ or 18363.1049+, with the minor build # over. If you are running Windows 10 version 1903 or 1909, open "Settings" from your Windows menu, navigate to "Update & Security" and select "Check for Updates". For ARM64 systems: Version 2004 or later, with Build 19041 or later.For 圆4 systems: Version 1903 or later, with Build 18362.1049 or later. To update to WSL 2, you must be running Windows 10. Step 2 - Check requirements for running WSL 2 To update to WSL 2, wait to restart your machine and move on to the next step. We recommend now moving on to step #2, updating to WSL 2, but if you wish to only install WSL 1, you can now restart your machine and move on to Step 6 - Install your Linux distribution of choice. Open PowerShell as Administrator (Start menu > PowerShell > right-click > Run as Administrator) and enter this command: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart You must first enable the "Windows Subsystem for Linux" optional feature before installing any Linux distributions on Windows. Step 1 - Enable the Windows Subsystem for Linux We have included the manual installation steps below. For simplicity, we generally recommend using the wsl -install to install Windows Subsystem for Linux, but if you're running an older build of Windows, that may not be supported.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |