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
I'm adding a few small tweaks including:
- Use bold for reference to Get button
- Add spacing between text and codeblocks
- Remove unneeded colon
- Very minor rewording
Copy file name to clipboardExpand all lines: wsl/how-to/install-ubuntu-wsl2.md
+19-13Lines changed: 19 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,15 @@
6
6
* How to enable and install WSL on Windows 10 and Windows 11
7
7
* How to install `Ubuntu 24.04 LTS` using the Microsoft Store, WSL commands or the Winget package manager
8
8
9
-
## What you will need:
9
+
## What you will need
10
10
11
11
* Windows 10 or 11 running on either a physical device or virtual machine
12
12
* All of the latest Windows updates installed
13
13
14
14
## Install WSL
15
15
16
16
You can install WSL from the command line. Open a PowerShell prompt as an Administrator (we recommend using [Windows Terminal](https://github.com/microsoft/terminal?tab=readme-ov-file#installing-and-running-windows-terminal)) and run:
17
+
17
18
```text
18
19
wsl --install
19
20
```
@@ -22,24 +23,24 @@ This command will enable the features necessary to run WSL and also install the
22
23
23
24
## Install Ubuntu WSL
24
25
25
-
WSL supports a variety of Linux distributions including the latest Ubuntu LTS release. Check out [the documentation](../reference/distributions.md) to see which one you prefer. We'll be using `Ubuntu 24.04 LTS` as the example.
26
+
WSL supports a variety of Linux distributions including the latest Ubuntu LTS release. Check out [the documentation](../reference/distributions.md) to see which one you prefer.
26
27
27
28
There are multiple ways of installing distros on WSL, here we show three: Microsoft Store, WSL commands and the Winget package manager. The result is the same regardless of the method.
28
29
29
30
### Method 1: Microsoft Store
30
31
31
-
Find the distribution you prefer on the Microsoft Store and then select `Get`.
32
+
Find the distribution you prefer on the Microsoft Store and then click **Get**.
Ubuntu will then be installed on your machine. Once installed, you can either launch the application directly from the Store or search for Ubuntu in your Windows search bar.
36
+
Ubuntu will then be installed on your machine. Once installed, you can either launch the application directly from the Microsoft Store or search for Ubuntu in your Windows search bar.
You'll be prompted to accept the source and package agreements before installing. You need to accept them in order to proceed.
96
100
97
101
Check out [the documentation](../reference/distributions.md) to see which executable matches your application and run it.
102
+
98
103
```text
99
104
ubuntu.exe
100
105
```
@@ -105,16 +110,17 @@ Congratulations, you now have an Ubuntu terminal running on your Windows machine
105
110
106
111
Once it has finished its initial setup, you will be prompted to create a username and password. They don't need to match your Windows user credentials.
107
112
108
-
Finally, it’s always good practice to install the latest updates with the following commands, entering your password when prompted.
113
+
Finally, it’s always good practice to install the latest updates with the following commands, entering your password when prompted:
114
+
109
115
```text
110
116
sudo apt update
111
117
sudo apt full-upgrade -y
112
118
```
113
119
## Enjoy Ubuntu on WSL!
114
120
115
-
In this guide, we’ve shown you how to install WSL and Ubuntu on Windows 10 or 11 and get the latest updates.
121
+
In this guide, we’ve shown you how to install WSL and Ubuntu on Windows 10 or 11 and the latest updates.
116
122
117
-
We hope you enjoy working with Ubuntu in WSL. Don’t forget to check out [our blog](https://ubuntu.com/blog) for the latest news on all things Ubuntu.
123
+
We hope you enjoy working with Ubuntu in WSL. Don’t for to check out [our blog](https://ubuntu.com/blog) for the latest news on all things Ubuntu.
0 commit comments