Installing Debian Linux on Windows with WSL for CS 2810

This is a brief guide to installing Debian on Windows using WSL.

Install WSL

To install WSL, launch PowerShell with the Run as administrator option and then type:

wsl --install

If you have a version from last year, you should update it and restart it:

wsl --update
wsl --shutdown

If you encounter problems with these steps, please seek out a labbie for help.

Pick your distribution

Next, install your distribution. I recommend doing this through the Microsoft app store. Choose Debian 13 or Ubuntu 24.04.

You should now be able to launch whichever version of Linux you installed through the Start menu.

If you encounter problems with these steps, please seek out a labbie for help.

Install system packages

Start by doing a system update from the command line:

sudo apt -y update && sudo apt -y upgrade

Then install the tools we will need:

sudo apt -y install live-task-standard live-task-recommended build-essential curl clang clang-tidy libclang-rt-dev lld lldb git micro vim qemu-user-binfmt

If that succeeds then it means your Linux installation is working and up-to-date.