Ubuntu 20.04 LTS is now available in Windows 10 for use with the Linux Subsystem for Windows. You know what they think at Microsoft: Linux yes, but without leaving Windows.
It took Microsoft just a few minutes to incorporate the new version of Ubuntu into its application store, once Canonical has announced the launch of an important edition due to its concept of “long-term” support and news that our colleagues have shown us at length. verylinux.
Ubuntu is a preferred distribution in WSL after the agreement of Microsoft and Canonical. In fact, it was the first to join this tool that was born taking Bash to Windows 10 (the command interpreter that is installed by default in most GNU / Linux distributions), but which has grown in potential and performance and will even more with WSL2.
Windows Subsystem for Linux 2 will be a great step forward. Linux will fully enter Windows 10 and from a simple compatibility layer it will offer a full linux kernel executed in a light virtual machine, being faster and more powerful. And important news is being prepared. Microsoft will offer the possibility of using a custom kernel by the user and will allow connecting Linux applications from Windows using localhost and not only through remote IP addresses, as was the case until now.
How to use Ubuntu 20.04 LTS in Windows 10 with WSL2
WSL2 will be released in Windows 10 May 2020 Update, although you can already try it in any previous version by following these steps:
Access the Powershell advanced console in administrator mode to install the function by running the command “Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux”.
When prompted, restart the computer.
Install Ubuntu 20.04 LTS already available in the Microsoft Store (or other available as Suse Linux Enterprise Server 12, Debian or Kali Linux). Once downloaded, install from the start menu.
Open PowerShell as administrator and activate the virtual machine platform with the command «Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform«.
Restart the computer again.
The last step is to configure the installed distro, Ubuntu for the example.
Open PowerShell again in administrator mode and run “wsl -l -v” to list them.
To select it use the code «wsl –set-version Ubuntu 2«.
To leave it active by default with «wsl –set-default-version 2«.
It must be emphasized that we are not talking about a complete GNU / Linux distribution and WSL is dedicated to developers, advanced users (and whoever needs it) to run Linux applications without leaving Windows. Whoever wants a complete experience will have to install this Ubuntu 20.04 LTS as the main system of a computer, in a virtual machine or together with Windows 10 in a dual boot configuration like the one in this guide, which we will update as soon as the final version of the new one is available. Windows.