You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/setup_wsl.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -30,14 +30,14 @@ PowerShell is a command-line interface for Windows. Its command prompt ends with
30
30
Check if WSL is already installed by running the command `wsl -l -v`. If you see a list like below, WSL is already installed.
31
31
```console
32
32
C:\WINDOWS\system32> wsl -l -v
33
-
NAME STATE VERSION
34
-
* Ubuntu Stopped 2
33
+
NAME STATE VERSION
34
+
* Ubuntu-24.04 Running 2
35
35
```
36
36
{: data-highlight="3"}
37
37
38
38
If the `VERSION` is 1, you must [upgrade to WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install-manual).
39
39
40
-
If you already have a distribution (e.g. Ubuntu) with `VERSION` 2, skip to [Setup Ubuntu](#setup-ubuntu) below.
40
+
If you already have an Ubuntu distribution with `VERSION` 2, skip to [Setup Ubuntu](#setup-ubuntu) below.
41
41
42
42
Otherwise, WSL is not installed and you'll see help text similar to the following. (This is expected for most students.)
43
43
```console
@@ -62,15 +62,15 @@ Start PowerShell as administrator, and check that WSL Ubuntu is now installed wi
62
62
63
63
```console
64
64
C:\WINDOWS\system32> wsl -l -v
65
-
NAME STATE VERSION
66
-
* Ubuntu Stopped 2
65
+
NAME STATE VERSION
66
+
* Ubuntu-24.04 Running 2
67
67
```
68
68
{: data-highlight="3"}
69
69
70
70
## Setup Ubuntu
71
71
From the previous section, you have installed WSL and an Ubuntu Linux distribution. You'll do most C++ development in Ubuntu rather than Windows. Let's get it set up.
72
72
73
-
Start an Ubuntu Bash shell. Bash is a command-line interface for Linux. Search for "Ubuntu" or "bash" in the start menu.
73
+
Start an Ubuntu Bash shell. Bash is a command-line interface for Linux. Search for "Ubuntu" (or "Ubuntu 24.04 LTS") or "bash" in the start menu.
0 commit comments