Advertisement
TVT618

Install the Windows Subsystem for Linux on Windows 10

Aug 30th, 2018
422
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. Before installing any Linux distros for WSL, you must ensure that the "Windows Subsystem for Linux" optional feature is enabled:
  2. Open PowerShell as Administrator and run:
  3. Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  4.  
  5. Restart your computer when prompted.
  6.  
  7. Install your Linux Distribution of Choice
  8. To download and install your preferred distro(s), you have three choices:
  9. * Download and install from the Windows Store (see below)
  10. * Download and install from the Command-Line/Script (read the manual installation instructions)
  11. * Download and manually unpack and install (for Windows Server - instructions here)
  12.  
  13. Windows 10 Fall Creators Update and later: Install from the Microsoft Store
  14. This section is for Windows build 16215 or later. Follow these steps to check your build. For earlier versions of Windows 10, follow these instructions using lxrun.
  15.  
  16. Open the Microsoft Store and choose your favorite Linux distribution.
  17. The following links will open the Windows store page for each distribution:
  18. * Ubuntu
  19. * OpenSUSE
  20. * SLES
  21. * Kali Linux and Debian GNU/Linux
  22.  
  23. From the distro's page, select "Get"
  24.  
  25. Complete initialization of your distro
  26. Now that your Linux distro is installed, you must initialize your new distro instance once, before it can be used.
  27.  
  28. Troubleshooting:
  29. Below are related errors and suggested fixes. Refer to the WSL troubleshooting page for other common errors and their solutions.
  30.  
  31. Installation failed with error 0x80070003
  32. * The Windows Subsystem for Linux only runs on your system drive (usually this is your C: drive). Make sure that distros are stored on your system drive:
  33. * Open Settings -> Storage -> More Storage Settings: Change where new content is saved
  34.  
  35. From Microsoft Docs: https://docs.microsoft.com/en-us/windows/wsl/install-win10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement