
- #HOW TO INSTALL LINUX ON WINDOWS .EXE#
- #HOW TO INSTALL LINUX ON WINDOWS WINDOWS 10#
- #HOW TO INSTALL LINUX ON WINDOWS SOFTWARE#
Once you run the command you’ll see output similar to this:
#HOW TO INSTALL LINUX ON WINDOWS .EXE#
exe /online / enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Run the following command to enable the WSL feature: PS C:\Windows\system32> dism. You’ll use the Windows Deployment Image Servicing and Management tool to enable optional Windows features that are disabled by default. 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.
#HOW TO INSTALL LINUX ON WINDOWS 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.
#HOW TO INSTALL LINUX ON WINDOWS SOFTWARE#
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.
