the installation of the WSL has been simplified for Windows 10: Starting with build version 20246, a single command is now sufficient
Microsoft has improved the installation process for the Windows Subsystem for Linux (WSL) in the latest Insider Preview. Now, only a single command is required.
This is reported by the online magazine GHacks. Martin Brinkmann explains how extensively the installation of the WSL has been simplified for Windows 10: Starting with build version 20246, a single command is now sufficient to install all necessary components and a supported Linux distribution. The new feature makes the installation of the WSL on Windows 10 devices much easier. The Insider program now tests the fast installation process.
"If you look at the current installation procedure on Microsoft's website, you will see that it comprises a total of seven steps, including activating the required operating system functions - Windows Subsystem for Linux and Virtual Machine -, downloading the Linux kernel update package and installing the Linux distribution of your choice," said Brinkmann.
This is a great relief, especially for users who have not had to deal with such processes frequently in the past, and should bring the Windows subsystem for Linux a long way forward.
Seven steps process no longer necessary
If all goes well, the new simplified installation path should be released in spring 2021 in the next Windows 10 feature update 21H1 for all users, even outside the test program. It will then be sufficient to open a PowerShell prompt and execute the command wsl --install. The command installs all necessary components and a Linux distribution. If no distribution is specified, Ubuntu Linux is installed automatically.
The -d parameter, followed by the Linux distribution identifier, allows you to install another Linux distribution on the device. But the whole thing works only with administrator rights.
The following distributions are currently supported:
After the first test of Brinkmann, however, Not all Linux distributions that are available on the Microsoft Store are supported by the new command. It is quite possible that the support will be extended in future builds.