“wsl2 ubuntu” Réponses codées

wsl2 ubuntu

wsl.exe --set-version Ubuntu 2
Agreeable Angelfish

comment wsl2

Enable Windows Subsystem for linux: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Enable Virtual Machine Platform: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Download WSL2 kernel: https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

Set default WSL verison: wsl --set-default-version 2
Yawning Yacare

Installez WSL avec Ubuntu

#### WSL Installation

1. Use simultaneously win + X keys and then click on "admin powershell".
```powershell
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux all /norestart
```
This command activate WSL functionalities.

```powershell
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
```
This one allows virtual machines developed by Microsoft.

2. Restart your computer.

3. Download [this file](https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi) and follow instructions.

4. Now open powershell admin like before and type:
```powershell
wsl --set-default-version 2
```
5. Download [Ubuntu](https://www.microsoft.com/store/apps/9n6svws3rx71) from Microsoft store.

WSL with Ubuntu is now installed.
Grumpy Gannet

Réponses similaires à “wsl2 ubuntu”

Questions similaires à “wsl2 ubuntu”

Plus de réponses similaires à “wsl2 ubuntu” dans Shell/Bash

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code