“WSL2 Ubuntu” Respostas de código

WSL2 Ubuntu

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

Como 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

Instale WSL com 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

Respostas semelhantes a “WSL2 Ubuntu”

Perguntas semelhantes a “WSL2 Ubuntu”

Mais respostas relacionadas para “WSL2 Ubuntu” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código