To install Windows Subsystem for Linux on Windows 10, use these steps: Microsoft has simplified the installation process of the WSL on Windows 10 to only one command that downloads and installs all the required components, including the virtual machine platform and Ubuntu Linux by default. Install WSL2 on Windows 10 (older versions).This guide will teach you the steps to install the Windows Subsystem for Linux 2 on Windows 10. The feature runs an actual Linux kernel in a virtual machine, which improves performance and app compatibility over the previous version while maintaining the same experience as the first release. WSL2 (Windows Subsystem for Linux version 2) is a new version of the architecture that allows you to use Linux on top of Windows 10 natively (using a lightweight virtual machine) and replaces WSL. To update the WSL2 kernel, run the “wsl –update” command.
To install a specific distro, run “wsl –install -d DISTRO-NAME.”.The command will install all the WSL2 components and the Ubuntu Linux distro.To install WSL2 on Windows 10, open Command Prompt as admin and run “wsl –install.”.