Before installing any Linux distros for WSL, you must ensure that the 'Windows Subsystem for Linux' optional feature is enabled:
Open PowerShell as Administrator and run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Restart your computer when prompted.
To download and install your preferred distro(s), you have three choices:
The
This section is for Windows build 16215 or later. Follow these steps to check your build. For earlier versions of Windows 10, follow these instructions using lxrun.
Open the Microsoft Store and choose your favorite Linux distribution.
The following links will open the Windows store page for each distribution:
From the distro's page, select 'Get'
Now that your Linux distro is installed, you must initialize your new distro instance once, before it can be used.
Below are related errors and suggested fixes. Refer to the WSL troubleshooting page for other common errors and their solutions.
C:
drive). Make sure that distros are stored on your system drive: 联系客服