Once you’ve done this, a PowerShell window will open. You’ll need to right click on PowerShell and click on Run as Administrator. Open up the Start menu and search for PowerShell. These services come with Windows but are turned off by default until you decide you need them. The first thing you need to do is enable specific Windows services so that you can run the WSL. Step 1 - Enabling Windows Services for the WSL If you are not installing the WSL on a virtual machine, you can skip this warning entirely.
Set-VMProcessor -VMName MyWSL -ExposeVirtualizationExtensions $true.Replace MyWSL with the name of your VM in Hyper-V: This is a Windows command so you will need an elevated PowerShell prompt to do this.
Ubuntu download windows 10 windows 10#
For example, if you are installing the WSL on a virtualized Windows 10 that is running in Hyper-V named MyWSL you will need to run the following command on the virtualization host, not the virtual machine. Warning: If you are installing the WSL on a virtual machine you will need to expose CPU virtualizations flags to the virtual machine. Builds lower than this will not support the WSL 2. For ARM64 systems, version 2004 or higher with build 19041 is required. Linux 2 requires Windows 10 version 1903 or higher with build 18362 or higher.
Ubuntu download windows 10 install#
In this tutorial you’ll enable the WSL, install Ubuntu 20.04 onto your workstation using the WSL, and install Microsoft’s new Windows Command Line to access your Ubuntu 20.04 installation. The WSL accomplishes this by using Microsoft’s built in virtualization software called Hyper-V to run. The WSL natively integrates with most applications on your workstation, allowing for a Linux-like development experience on Windows. The Windows Subsystem for Linux 2, WSL 2 or WSL for short, is a tool on Microsoft Windows 10 that allows developers to run a Linux environment directly on Windows without any modifications, secondary Virtual Machine software, or dual-boot setups.