Microsoft has made it much easier to install the Linux subsystem for Windows 10 and Windows 11. Now you can do this with
So far, this feature has only been implemented innew experimental compilations of Windows 10, and now it is distributed in all versions of Windows 10 after build 2004. The same feature is provided for Windows 11.
You need to run command line with rightsadministrator, then enter the command wsl.exe -install and press Enter. As a reminder, this has been a very long process so far with a lot of customization and the installation of individual packages. Now everything is much easier and faster. After installing the Linux subsystem, you need to restart your computer for everything to work properly.
Ubuntu distribution is installed by default,but the user can choose a different Linux distribution. Supported versions can be viewed by running the wsl -list -online command. Installation of the selected Linux distribution is performed using the wsl -install -d <distribution name> command.
Other commands are supported as well. General information on configuring the Linux subsystem can be obtained using the wsl -status command. For example, the wsl -update command updates the kernel of the Linux subsystem.