I am running code on Windows Server 2019 Datacenter version: 1809.
I have gone through the steps indicated here to install WSL: https://learn.microsoft.com/en-us/windows/wsl/install-on-server
I assume that when not specified "WSL 2" in this documentation page it is implied that WSL 1 is installed. This is because when running any other commands from any part of the documentation I am getting invalid command line options.
From the article Check which version of wsl you are running
(base) PS C:\Users\adm.nkiner> wsl -l -v
Invalid command line option: -l
Usage: wsl.exe [option] ...
Options:
-d, --distribution <DistributionName>
Launch the specified distribition.
-e, --exec <CommandLine>
Execute the specified Linux command. The remainder of the arguments are
used as the command line to execute.
-u, --user <UserName>
Run as the specified user.
--help
Display this usage information.
--
Stop parsing arguments and pass the remainder to the Linux process.
WSL 2 is only available in Windows 11 or Windows 10, Version 1903, Build 18362 or later. Check your Windows version by selecting the Windows logo key + R, type winver, select OK. (Or enter the ver command in Windows Command Prompt). You may need to update to the latest Windows version. For builds lower than 14393, WSL is not supported at all.
Windows server is not mentioned here, although the first link states that WSL 2 can be installed on Windows Server 2022.
So, could you please support with the following questions:
Which version of WSL am I running, or how could I find this out explicitely?
Which version of Windows Server would allow me to run WSL 2, which is needed to enable CUDA support in my project?
Thanks,
Nathan
Please make it straightforward to understand which version of WSL is being installed on which system, and where the relevant documentation could be accessed.
Documentation Issue
Hi,
I am running code on Windows Server 2019 Datacenter version: 1809. I have gone through the steps indicated here to install WSL: https://learn.microsoft.com/en-us/windows/wsl/install-on-server I assume that when not specified "WSL 2" in this documentation page it is implied that WSL 1 is installed. This is because when running any other commands from any part of the documentation I am getting invalid command line options. From the article Check which version of wsl you are running
From the guide Basic commands for WSL, all commands are returning the same error.
From the guide Comparing WSL versions, it is stated:
Windows server is not mentioned here, although the first link states that WSL 2 can be installed on Windows Server 2022.
So, could you please support with the following questions:
Link to documentation page
https://learn.microsoft.com/en-us/windows/wsl/install-on-server https://learn.microsoft.com/en-us/windows/wsl/install#check-which-version-of-wsl-you-are-running https://learn.microsoft.com/en-us/windows/wsl/basic-commands?source=recommendations https://learn.microsoft.com/en-us/windows/wsl/compare-versions
Suggested Improvements
Please make it straightforward to understand which version of WSL is being installed on which system, and where the relevant documentation could be accessed.