View Single Post
Old 2021-01-13, 16:34   #15
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

10011101001012 Posts
Default Windows Subsystem for Linux (WSL)

early draft, maybe becomes a whole thread


Requirements:
64-bit hardware supported by Windows
WSL1: Windows 10 x64 v1607 or later per https://www.computerhope.com/issues/ch001879.htm
WSL2: Windows10 x64 ~v1909 or later, and a processor that supports vritualization (VT-X?), from personal experience.

Checking whether WSL is installed and what version: in a Windows command prompt, "wsl -l -v" https://onecompiler.com/questions/3w...wsl-versionupd
And it can be useful to "title wsl check" and leave the small command prompt box open as a reminder.
Code:
  NAME      STATE           VERSION
* Ubuntu    Stopped         1
Unless there is WSL but no Linux distro installed:
Code:
C:\users\User\Documents>wsl -l -v
Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
 https://aka.ms/wslstore
Or if WSL is not installed either:
Code:
'wsl' is not recognized as an internal or external command,
operable program or batch file.
Differences between WSL1 and WSL2 https://docs.microsoft.com/en-us/win...mpare-versions

Installing WSL2: update to required Windows 10 version or higher.
For x64 systems: Version 1903 or higher, with Build 18362 or higher.
For ARM64 systems: Version 2004 or higher, with Build 19041 or higher.
Install WSL 1. Then update to WSL 2.
https://www.windowscentral.com/how-i...sl2-windows-10

Simplified WSL2 install: Windows 10 build 20262 or higher https://docs.microsoft.com/en-us/win.../install-win10

A handy reference, including adding GUI and RDP to WSL https://adamtheautomator.com/windows...tem-for-linux/


Top of reference tree: https://www.mersenneforum.org/showpo...22&postcount=1
Attached Thumbnails
Click image for larger version

Name:	peregrine i7-8750H Win10 x64 Home with WSL1 Ubuntu 18.04.png
Views:	35
Size:	209.3 KB
ID:	24175  

Last fiddled with by kriesel on 2021-02-02 at 18:38
kriesel is online now