From a973cb8c136a7d24354c46c87f27f5e8f09ca138 Mon Sep 17 00:00:00 2001 From: MeirManevich <100241748+MeirManevich@users.noreply.github.com> Date: Mon, 3 Feb 2025 15:24:49 -0500 Subject: [PATCH] Update ch1.1-linux-installation.md This is the first draft of the WSL section. I'd like to find someone without WSL and go through the whole process again and add more notes about the installation process, but it should be pretty similar. --- src/ch1.1-linux-installation.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/ch1.1-linux-installation.md b/src/ch1.1-linux-installation.md index 67fddc8..c1bb2a0 100644 --- a/src/ch1.1-linux-installation.md +++ b/src/ch1.1-linux-installation.md @@ -25,4 +25,15 @@ Once the USB drive is written, boot the machine from the USB drive (using a BIOS Setting up a virtual machine is a great way to play with and learn Linux without having to install it on a physical machine. We recommend using [Oracle VirtualBox](https://www.virtualbox.org/) for this purpose since it's free and open source. You can download it here: . -To setup a linux Virtual Machine (VM), follow this guide: . It's written for Ubuntu, but the steps for booting from the ISO image should be almost identical for other distros. \ No newline at end of file +To setup a linux Virtual Machine (VM), follow this guide: . It's written for Ubuntu, but the steps for booting from the ISO image should be almost identical for other distros. + +## Installing via WSL (no ISO) (Windows only) +For Windows computers with Windows 10 or 11, this is an easy way to use the Ubuntu terminal on top of your system without partitioning your hard drive or using a virtual machine. Windows essentially treats it like another program on the computer, so you run it anytime you like from the Start Menu or from the terminal drop-down menu. +* To install WSL, open the terminal in administrator mode and execute: + ``` + wsl --install + ``` +* Once it is installed, you can then go ahead and set up our Linux username and password +* You may need to restart before you can use the Ubuntu terminal\ +* Once it is all set up, you access and manipulate all the files on your computer using Ubuntu +* This can be very useful for testing C code that needs to run on the CSU Linux computers for homework.