The first step of this process is ensuring that the version of Windows being used supports WSL. The easiest way to do this is to right click the start menu button and select "System"
The window that pops up will show the current system information. The item of interest is found on the "OS Build" entry.
For Windows 10 systems with an OS Build version newer or equal to 19041 or if the computer runs Windows 11, setting up WSL and installing Ubuntu is a very straightforward task.
- Right click your start menu button again
- Select either "Windows PowerShell (Admin)" or "Command Prompt (Admin)" (whichever you see)
- In the terminal that opens, copy and paste the following command:
wsl --install
- Restart the computer once the installation is complete
- There should be a Ubuntu application in your start menu now Congrats! If any problems are experienced or if the computer does not meet the above criteria, consider following the next section
If the Windows computer's OS Build version is between 14393 and 19041 or the above method did not work, this is the process to enable WSL on your system and install Ubuntu.
- Type
Win + S
to bring up the search bar - Search for "Turn Windows Features On or Off"
- In the new window, scroll toward the bottom and ensure that both the boxes for "Virtual Machine Platform" (if present) and "Windows Subsystem for Linux" are checked
- Click "OK"
- After the process is complete, RESTART THE COMPUTER
- Upon reboot, use
Win + S
again to search for "store" and open up the Microsoft Store
- In the search bar for the store, search for "Ubuntu"
- Select the "Ubuntu" with no numbers or version after it
- Press "Get" to install Ubuntu
- After it has downloaded, it will either start the installer on its own or press "Install" or select "Ubuntu" from the start menu
- The Ubuntu installer may take time to run. To ensure that the installation is proceeding, click the drop down next to "Unpacking the distro." This will expose a terminal that shows the progress of the installation or note any errors in the install.
- Once complete, run "Ubuntu" by either selecting it in the start menu, searching for it, or pressing "Run" in the Store app
- The new terminal will run some minor setup operations and then prompt the user to create a name and password
- Once the username and password are created, the Ubuntu app will be the terminal used for all other Linux-based operations on a Windows machine.