From 63ef6e7bb941b272883149da7f9b01dc25ecf865 Mon Sep 17 00:00:00 2001 From: Trihedraf Date: Sun, 30 Apr 2023 16:20:21 -0700 Subject: [PATCH] Instructions for installing WSL --- docs/building.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docs/building.md b/docs/building.md index b859864e5..9e1b50262 100644 --- a/docs/building.md +++ b/docs/building.md @@ -152,6 +152,31 @@ cmake --build build -j $(sysctl -n hw.ncpuonline)
Windows via MinGW +
Installing Windows Subsystem for Linux + +If you are building on Windows and do not have WSL already setup this will install WSL and Ubuntu by default (Requires Windows 10 2004 or higher or Windows 11) + +In an Administrator Command Prompt or Powershell + +```wsl --install``` + +Reboot + +Wait for Command Prompt to pop up and say installing when complete enter your new Linux password + +You can launch WSL anytime by typing wsl or ubuntu in a Command Prompt or Powershell or in the Start Menu launch the Ubuntu App + +### Setup git and clone DevilutionX + +In a WSL terminal run these commands to get the source code for DevilutionX + +``` +sudo apt install git +git clone https://github.com/diasurgical/devilutionx +cd devilutionx +``` +
+ ### Installing dependencies on WSL, Debian and Ubuntu ### 32-bit