Installing the Windows Subsystem for Linux (WSL)

The Windows Subsytem for Linux runs native Linux command-line tools directly on Windows. It includes everything in a regular Ubuntu Linux install.

Install Windows 10

A free Windows 10 upgrade is available to UM students via the Computer Showcase.

Install Windows Subsystem for Linux (WSL)

Start PowerShell and run it as administrator. Search for PowerShell in the start menu, then right-click and select “Run as administrator”.

Next, follow the instructions from Microsoft: https://msdn.microsoft.com/en-us/commandline/wsl/install-win10. Be sure to select “Ubuntu Linux”.

Install Linux packages

Start an Ubuntu Bash shell (not a Windows PowerShell).

An Ubuntu Bash shell is a terminal that looks like this.

You can now use Ubuntu Linux command line tools, including the apt-get package manager.

$ sudo apt-get update

Install the packages that we will use in EECS 280.

$ sudo apt-get install g++ make rsync wget git ssh gdb valgrind python3 tree


Where are my Windows files? They’re in your Windows home directory /mnt/c/Users/awdeorio/. You have a separate Ubuntu home directory, e.g., /home/awdeorio/.

$ cd ~                        # Tilde means "my Ubuntu home"
$ pwd
$ cd /mnt/c/Users/awdeorio/   # Windows home
$ pwd

Simulate a double-click from the command line in the WSL Bash shell.

$ cmd.exe /c start babychickens.jpg

Next steps

Return to the main set up tutorial.