@ -16,10 +16,11 @@ There are several ways to get a working Linux environment :
- Using the Windows Subsystem for Linux
- Using the Windows Subsystem for Linux
This document focuses on the latest method : "Windows Subsystem for Linux".
This document focuses on the latest method : "Windows Subsystem for Linux".
If you want to do it differently, ensure you still do the [Configure tools](#configure-tools) part.
## Install Windows 10
## Install Windows 10
Skip this part if Windows 10 is up-to-date.
[Skip this part](#install-a-web-browser) if Windows 10 is up-to-date.
### Download
### Download
@ -60,7 +61,7 @@ Skip this part if Windows 10 is up-to-date.
## Install a web browser
## Install a web browser
Skip this part if you have a modern & full-featured web browser (e.g. Chrome, Firefox, etc).
[Skip this part](#install-linux) if you have a modern & full-featured web browser (e.g. Chrome, Firefox, etc).
We recommend to use Firefox with the extension "uBlock Origin" and the additional filters lists :
We recommend to use Firefox with the extension "uBlock Origin" and the additional filters lists :
@ -72,7 +73,7 @@ Make sure to apply changes.
## Install Linux
## Install Linux
Skip this part if you already have WSL with Debian (or similar system e.g. Ubuntu).
[Skip this part](#install-vscode) if you already have Debian (or similar system e.g. Ubuntu).
### Install Windows Subsystem for Linux (WSL2)
### Install Windows Subsystem for Linux (WSL2)
@ -85,10 +86,12 @@ To "Open PowerShell as Administrator", right-click on the Start menu.
- Click on "Get" button
- Click on "Get" button
- Launch
- Launch
- Create user as requested (the password doesn't need to be secure and you have to remember it)
- Create user as requested (the password doesn't need to be secure and you have to remember it)
- Leave (by using the shortcut <kbd>Ctrl</kbd>+<kbd>D</kbd>, closing the window or typing the `exit` command)
- Close (by using the shortcut <kbd>Ctrl</kbd>+<kbd>D</kbd>, closing the window or typing the `exit` command)
## Install VSCode
## Install VSCode
If you run Linux natively, go to [Configure tools](#configure-tools).
Download it from the [official website](https://code.visualstudio.com).
Download it from the [official website](https://code.visualstudio.com).
Run the installer, check all "Additional Tasks".
Run the installer, check all "Additional Tasks".
@ -132,14 +135,14 @@ Hello World
user@DESKTOP-XXXXXXX:~$ █
user@DESKTOP-XXXXXXX:~$ █
```
```
`echo` is a program that displays text. Now you will execute commands that will install all the necessary programs you will need :
`echo` is a program that displays text. Now you will execute commands that will install all the necessary programs you will need, this is the first one :
```
```
sudo apt update
sudo apt update
```
```
Type the password you entered during [Linux installation](#install-debian).
Type the password you entered during [Linux installation](#install-debian).
When it's over (the command prompt appears again), continue entering commands (we hide their output):
When it's over (the command prompt appears again) run the 3 next commands (we hide their output):