0. What is WSL?


WSL stands for "Windows Subsystem for Linux." This addition to Windows (added in Windows 10) allows you to have a linux system (Ubuntu) installed inside of Windows. This Linux system does have some limitations, but all the same basic commands work on it. It is fairly easy to activate and get up-and-running. It allows you to use a commandline experience to SSH into the school computers without having to use other software. It also will allow you to test linux commands and features on your own computer. WSL can even allow you to access your Windows filesystem to save and access file within Windows.
You can learn more about WSL at https://msdn.microsoft.com/en-us/commandline/wsl/about or by just googling "WSL Windows 10".

1. Prepare to Install WSL


To use WSL, Windows developer mode needs to be turned on. This is easily done through the Windows Settings window.

  1. Open the Settings Window. 
  2. Select "Update & Security." 
  3. Select "Developer Mode." 
  4. Click "Yes." 

2. Install WSL


Once Developer Mode is enabled, the WSL option is enabled to be installed.

  1. Search for and open "Turn Windows Features On or Off". 
  2. Check "Windows Subsystem for Linux" (near the bottom). 
  3. You will be asked to restart. If you have nothing open, restart. Otherwise, cancel the restart, finish your work, and restart your computer.

3. Finalize


Once WSL is installed, you need to put a specific Linux Distribution on it, as well as create a user for the Linux system and update to get the latest features and security updates.
After the reboot, search for and run "bash" (this is how you will access WSL from now on.)

The following steps will differ on what update of Windows 10 you have. Follow the directions under the image that matches what you see.

IF YOU SEE THIS TEXT FOLLOW THESE STEPS:




  1. when prompted, type "y" to agree to the download and installation of Ubuntu.
  2. Once finished, it will prompt you for a username. Enter a username and hit enter. If you use the same username as your Clemson account, you can SSH into the University computers without specifying the username. You can change the username later if you desire. ("tacocat" was used in this example).
  3. Enter and re-enter a password for this user. As per the insightful CS morals lesson, you should probably not use the same password for this account as your windows or University account. 
  4. when a prompt appears type "sudo apt-get update && sudo apt-get upgrade", hit enter, and enter the password you just created. This may ask if you want to download and install the updates. type "y" and hit enter. This will update all the software for the WSL installation.

WSL should be all setup and ready for use. you can access the storage devices in the /mnt/ folder in the root directory.


IF YOU SEE THIS TEXT FOLLOW THESE STEPS:




  1. open the Windows Store and search "WSL"
  2. Click "Get the Apps." 
  3. Select "Ubuntu" (Its what the labs use and the most user-friendly OS in the list) and then click "get".
  4. After it is downloaded and ready, click "Launch" to install the OS and prepare it for use. 
  5. Once finished, it will prompt you for a username. Enter a username and hit enter. If you use the same username as your Clemson account, you can SSH into the University computers without specifying the username. You can change the username later if you desire. ("tacocat" was used in this example).
  6. Enter and re-enter a password for this user. As per the insightful CS morals lesson, you should probably not use the same password for this account as your windows or University account. 
  7. when a prompt appears type "sudo apt-get update && sudo apt-get upgrade", hit enter, and enter the password you just created. This may ask if you want to download and install the updates. type "y" and hit enter. This will update all the software for the WSL installation.

WSL should be all setup and ready for use. you can access the storage devices in the /mnt/ folder in the root directory. 


If you have any questions, let me know and I will try to answer them the best I can.

© John Hollowell