- #Wsl ubuntu download how to#
- #Wsl ubuntu download install#
- #Wsl ubuntu download update#
- #Wsl ubuntu download full#
- #Wsl ubuntu download windows 10#
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.
#Wsl ubuntu download 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.
#Wsl ubuntu download 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. Let's break down some of the key commands to use in PowerShell that you'll need to know.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. You're able to set either as default as well as setting a version specifically to each Linux distro you have on your PC. This means you can run Linux installs with a combination of different versions. The good thing about WSL2 is that it doesn't replace WSL. Once the installer has done its thing, you'll now have WSL2 successfully installed on your PC.
Now reboot your PC and move to the next section. Open PowerShell as administrator and enter this command: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart The quickest way to do it is in PowerShell.
If you have this enabled already, skip and go straight to rebooting your PC to make sure you're ready to install. As already stated, WSL2 is a tiny virtual machine, so Windows needs to be prepared for that. If you don't already have this enabled, you'll need to turn it on before installing WSL2.
#Wsl ubuntu download update#
If you have anything lower, you'll need to run Windows Update before going any further.Īssuming that's all good, the rest is straightforward.
And that's why the installation differs a little from enabling regular old WSL. The latest iteration is essentially a tiny virtual machine that boots up in seconds and has a proper Linux kernel at its core. Now you have the Windows Subsystem for Linux enabled. Source: Windows Central (Image credit: Source: Windows Central) Open PowerShell as administrator and enter this command: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestartĮventually, you will need to reboot your PC, but you can leave it until later if you're going straight to installing WSL2.
#Wsl ubuntu download full#
We have a full guide on getting set up with the Windows Subsystem for Linux, which you should check out for a full primer on getting started, but if you're looking for the quickest route, there's a single line of code to enable it on your machine. There's no direct path to just installing WSL2. But to have the newest version, you first need to have the first. That may sound slightly strange, but the methods of enabling the first iteration and the second are quite different.
#Wsl ubuntu download how to#
How to enable Windows Subsystem for Linuxīefore you can get WSL2, you need to have WSL.
If you don't have the necessary version of Windows 10 installed to follow the simplified setup, the existing, much longer method still works.