Installer WSL sur WINDOWS 10 : Différence entre versions

De NoocNooNet
Sauter à la navigation Sauter à la recherche
 
Ligne 3 : Ligne 3 :
  
 
'''Installation:'''
 
'''Installation:'''
* Ouvrir PowerShell en tant qu'administrateur.
+
* Ouvrir PowerShell en tant qu'administrateur (click droit sur icone PowerShell et "éxécuter en tant qu'administrateur").
 
*Saisissez: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
 
*Saisissez: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
 
*Activez le composant « Plateforme d’ordinateur virtuel » (WSL 2 uniquement): dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
 
*Activez le composant « Plateforme d’ordinateur virtuel » (WSL 2 uniquement): dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Ligne 10 : Ligne 10 :
 
*Aller sur le Windows Store pour télécharger une distribution Linux (Ubuntu, Kali, Debian...) et vous aurez accès au Terminal du système choisi.
 
*Aller sur le Windows Store pour télécharger une distribution Linux (Ubuntu, Kali, Debian...) et vous aurez accès au Terminal du système choisi.
  
Source:  [https://lecrabeinfo.net/installer-wsl-windows-subsystem-for-linux-sur-windows-10.html#definir-wsl-2-comme-version-par-defaut le Crabe Info].  
+
''Source:'' [https://lecrabeinfo.net/installer-wsl-windows-subsystem-for-linux-sur-windows-10.html#definir-wsl-2-comme-version-par-defaut le Crabe Info].  
  
  
 
==LAB17-WSL==
 
==LAB17-WSL==
 
[[LAB17-WSL]]
 
[[LAB17-WSL]]

Version actuelle datée du 1 octobre 2021 à 09:58

Définition: WSL


Installation:

  • Ouvrir PowerShell en tant qu'administrateur (click droit sur icone PowerShell et "éxécuter en tant qu'administrateur").
  • Saisissez: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
  • Activez le composant « Plateforme d’ordinateur virtuel » (WSL 2 uniquement): dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
  • Redémarrez votre ordinateur.
  • Téléchargez et installez le package de mise à jour du noyau Linux. Chercher dans la barre de recherche Windows Subsystem Linux ou wsl.
  • Aller sur le Windows Store pour télécharger une distribution Linux (Ubuntu, Kali, Debian...) et vous aurez accès au Terminal du système choisi.

Source: le Crabe Info.


LAB17-WSL[modifier]

LAB17-WSL