How to Install Windows Subsystem for Linux (WSL) Distros in Windows 10


The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools directly on Windows, alongside your traditional Windows desktop and modern store apps.

When you have Windows Subsystem for Linux (WSL) enabled, you can install WSL distro apps from the Microsoft Store, and export and import WSL distros.

The first time a newly installed WSL distro runs, a Console window will open, and you'll be asked to wait for a minute or two for the installation to complete.

Once installation is complete, you will be prompted to create a new user account (and its password).

Creating your Linux user is the first step in setting up a new Linux distribution on WSL. The first user account you create is automatically configured with a few special attributes:
  1. It is your default user -- it signs-in automatically on launch.
  2. It is Linux administrator (a member of the sudo group) by default.

Each Linux distribution running on the Windows Subsystem for Linux has its own Linux user accounts and passwords. You will have to configure a Linux user account any time you add a distribution, reinstall, or reset. Linux user accounts are not only independent per distribution, they are also independent from your Windows 10 user account.

When you open a new distro instance, you won't be prompted for your password, but if you elevate a process using sudo, you will need to enter your password, so make sure you choose a password you can easily remember.

See also:

This tutorial will show you how to install and setup Windows Subsystem for Linux (WSL) distro apps from the Microsoft Store for your account in Windows 10.



Here's How:

1. Click/tap on the link below to open the Microsoft Store app directly to the Run Linux on Windows page.
2. Click/tap on the WSL distro app (ex: "Ubuntu") you want to install. (see screenshot below)

Name:  Microsoft_Store_WSL_distro_apps-1.jpg
Views: 437
Size:  51.2 KB

3. Click/tap on Install. (see screenshot below)

You may need to click/tap on Get before seeing Install.

If you see Launch instead, then the app is already installed.

Name:  Microsoft_Store_WSL_distro_apps-2.jpg
Views: 145
Size:  38.3 KB

4. When the WSL distro app has finished installing, click/tap on Launch to run the app. (see screenshots below)

You can also open this WSL distro app from All Apps in your Start menu.

Name:  Open_WSL_distro_notification.jpg
Views: 143
Size:  16.4 KB
Name:  Microsoft_Store_WSL_distro_apps-3.jpg
Views: 147
Size:  38.5 KB Name:  Open_WSL_distro_Start_menu.jpg
Views: 147
Size:  85.5 KB

5. When the console window of the WSL distro opens for the first time, you will need to: (see screenshot below)
  • Enter new UNIX username for this WSL distro.
  • Enter new UNIX password for this username.
  • Retype new UNIX password to confirm.

Name:  WSL_distro_setup.jpg
Views: 139
Size:  26.8 KB

6. When finished, you can close the Microsoft Store app and the console window.


That's it,
Shawn


Related Tutorials