Forum Discussion
ammarjaved
Aug 31, 2021Iron Contributor
How to install the Linux Windows Subsystem in Windows 11
Install using Command Prompt Step 1: Start CMD with administrative privileges. Step 2:Execute "wsl --install" command. Step 3:Run "wsl -l -o" to list other Linux releases. Step 4:You can...
kaushik_acharya
Jan 04, 2023Copper Contributor
I am unable to install WSL using the command prompt in Windows 11.
wsl --install command throws the following error:
An error occurred in the secure channel support
I checked Security section under Internet properties.
TLS 1.0, 1.1, 1.2, 1.3 all are enabled.
I searched over the internet for a solution but couldn't find any.
Pre-requisites:
Are there any pre-requisites that needs to be set before running the wsl install command in the command prompt?
Is it necessary to enable the following as a pre-requisite in the Windows Features:
- Windows Hypervisor Platform
- Windows Subsystem for Linux
https://learn.microsoft.com/en-us/windows/wsl/install
I can't see any such pre-requisite mentioned in the above doc. Rather it says
This command will enable the features necessary to run WSL and install the Ubuntu distribution of Linux.
Thanks in advance.
UPDATE:
- I managed to install WSL using the alternative approach i.e., using Windows Features.
- The probable reason (I think) for the issue mentioned above in this post is because of outdated WSL2 linux kernel package which can be updated from https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package.
- Thanks to the authors of the comments in this discussion thread whose suggestions helped me in resolving the issue.