Install Windows Subsystem for Linux(WSL) on Windows 10

Install optional feature: Windows Subsystem for Linux

Before you can install any Linux distros for WSL, you need to make sure that the “Windows Subsystem for Linux” optional feature is enabled. There’re a few ways to do this, let’s consider PowerShell, and Windows interface. Just go with any methods at your ease:

Via PowerShell:

Open PowerShell as Administrator and run:

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

You’ll see something like below screenshot:

Via Windows UI:

  • Press Windows(Start) key, then type in search box “Turn windows features on or off”. You’ll see this function, then click and open it.
  • On the “Turn windows features on or off” window, find and check option “Windows Subsystem for Linux”, like following screenshot:

  • Then, click OK, and you’ll see a prompt window asking to restart your PC.

With either method, you’re better to restart your PC to make sure everything is right order.

Install your preferred Linux Distribution

There’re quite a lot of Linux distributions available for you to choose easily from Windows Store. At this time, with Windows 10 version 1903, the list of distro can be counted as:

Each item above is linked to Microsoft Store. Most of them are free, some require payment.

Or you can open Microsoft Store, and search for any distro by name. Then install it like below images:

That’s it, you can now enjoy Linux Subsystem on Windows. Open your distro installation by press Start button, search for it name, you’ll see an app installed on your windows:

First time launching, it will take a short time, more or less than a minute depending on your PC, to initialize the instance. Let it run, then you can start login a truly Linux just right in Windows

Leave a Reply

Notify of