Setting Up the Development Environment on Windows
更新时间: 2025/12/18
在Gitcode上查看源码

WSL (Windows Subsystem for Linux) is a great feature from Microsoft that lets you run Linux right alongside Windows on the same machine. With WSL, you can install a Linux distribution—like Ubuntu, OpenSUSE, Kali, Debian, Arch Linux, and others—and use Linux apps, tools, and Bash commands directly in Windows. No modifications needed, and none of the overhead that comes with traditional VMs or dual-boot setups.

By installing Ubuntu via WSL, you get a solid Linux environment inside Windows—perfect for developing with openUBMC.

Installing WSL + Ubuntu

To install WSL on Windows, check out the official guide: How to install Linux on Windows with WSL

powershell
wsl --set-default-version 2
wsl --install -d Ubuntu-24.04

Setting Up openUBMC Inside Ubuntu

Once Ubuntu 24.04 is up and running in WSL, the rest of the openUBMC setup is exactly the same as on a native Ubuntu system. Just follow the instructions in Setting Up the Development Environment on Ubuntu.