MASIGNCLEAN104

How to install Windows Subsystem for Linux 2 on Windows 10

iklan banner

WSL 2 or Windows Subsystem for Linux 2 is an iterative update to Windows Subsystem for Linux 1. Being then much meliorate than WSL 1, it is obvious that ane must upgrade to WSL 2. That is what nosotros volition live on checking out inward this guide.

 it is obvious that ane must upgrade to WSL  How to install Windows Subsystem for Linux ii on Windows 10

How to install Windows Subsystem for Linux ii on Windows 10

The next are the requirements that your reckoner must fulfill for Windows Subsystem for Linux 2 to run properly:

  1. Windows 10 Build 18917 or newer.
  2. Hyper – V Virtualization.

Also, y'all volition select to produce the next tasks inward the given monastic country for all the features of the Windows Subsystem for Linux ii to work:

  1. Enable the Optional feature.
  2. Install a distro.
  3. Enable Virtual Machine Platform optional feature.
  4. Configure the installed distro.

1] Enable the Optional feature

In monastic country to enable the WSL Optional feature, open Windows PowerShell amongst Administrator privileges.

 it is obvious that ane must upgrade to WSL  How to install Windows Subsystem for Linux ii on Windows 10

Execute the next command:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

If volition enquire for a confirmation if y'all wishing to reboot your computer, hitting Y to produce it remove away or to reboot it manually, hitting N.

2] Install a distro

You tin endeavour to download together with install a suitable Linux distro for your reckoner from the Microsoft Store.

3] Enable Virtual Machine Platform optional feature

Open Windows PowerShell every minute an Administrator together with execute the next command:

 it is obvious that ane must upgrade to WSL  How to install Windows Subsystem for Linux ii on Windows 10

Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform

If it asks for a confirmation, to reboot your computer, hitting Y to produce it remove away or to produce it later, hitting N.

4] Configure the installed distro

Finally, nosotros select to configure the installed distro to WSL 2.

Open Windows PowerShell together with execute this ascendance to listing all the available WSL distros on your computer:

wsl -l -v

Set the desired distro to WSL 2. execute the next command:

wsl --set-version DistroName 2

Finally, educate the selected distro every minute default yesteryear executing the next command:

wsl --set-default-version 2

You would live on experiencing the novel seamless together with faster sense amongst Windows Subsystem for Linux.

This novel update to the ascendance business utility brings inward the novel architecture. This volition drastically improve the file arrangement surgical procedure together with the sum arrangement telephone telephone compatibility. This novel update is based on virtualization (which is based on Hyper – V) which plant on a existent Linux kernel.

You should live on all educate now!


Source: https://www.thewindowsclub.com/
Share This :