Step-by-Step: How to install the Linux Subsystem for Windows 10.


Prerequisite:  You must have administrator access on the computer on which you intend to install the Windows Subsystem for Linux.


 

1. Click on the Windows Start button at the lower left-hand corner of the desktop.

2.  Enter Turn in the Windows search box.  Windows will find Turn Windows features on or off.  Click on it.

 

 

3.  The Turn Windows features on or off dialog box opens.

4.  Scroll down the list of features and place a check mark in the box next to Windows Subsystem for Linux.

5.  Click the OK button.

 

 

7.  When the feature install is completed, select the Restart now button.

 

 

8.  The Windows Subsystem for Linux requires that the Virtual Machine Platform be enabled.

9.  Click on the Windows Start button at the lower left-hand corner of the desktop.

10.  Enter PowerShell in the Windows search box.  Windows will find PowerShell.  Right-click on the it and select Run as Administrator.

 

 

11.  You are prompted for your Administrator credentials.  Enter your credentials.

12.  A PowerShell window opens.  Enter the following command in the Powershell window:

 

Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform

 

 

13.  You are prompted to restart the computer.  Enter Y.

14.  Download the Windows Subsystem for Linux version 2 kernel update from:

https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

15.  Navigate to your Downloads folder and launch wsl_update_x64.msi.

 

 

16.  The installer launches.  Click Next.

 

 

17.  Enter your Administrator credentials when prompted. 

When the installation is completed, click Finish.

 

 

18.  Open a new PowerShell window as in Step 10 earlier.

19.  Enter the following and press the <ENTER> key.

 

wsl --set-default-version 2

 

 

20.  Open up the Microsoft Store and search for Linux.

 

 

21.  Ubuntu 18.04 is currently the only version of Linux supported by ITS on campus.  Other versions of Linux are available however.

Select Ubuntu and follow the Microsoft Store installation process.

Click Install.

 

 

22.  The process continues with a progress indicator.

 

 

23.  Once the install process is completed, you can select the Launch button.  

 

 

24.  At first launch, a few housekeeping steps are performed, and then you are prompted to create your Ubuntu user account.

 

 

25.  After creating your user account, you are greeted by the standard Ubuntu welcome screen.

 

 

26.  You now have a full version of Ubuntu running on your Windows 10 system.  Execute lsb_release -a

 

 

27.  You can subsequently find your Ubuntu installation on the Windows Programs menu.

 

 

The process is complete. 


2022.05.20 - Revised - dkearney

2020.06.10 dkearney

Details

Article ID: 107472
Created
Tue 5/12/20 12:23 PM
Modified
Fri 5/20/22 4:04 PM