How to Install Linux Kernel in Windows 10
How to Install Linux in Windows 10 & 11
Published by Timothy Tibbetts on 11/29/2021
So you've heard about Linux and that you can now use it in Windows 10, and you're ready to take the plunge? Here's how to prepare for and install Linux on Windows 10.
If this tutorial seems like something you aren't ready for, search for Linux Live distributions. Live distributions or distros allow you to boot from a DVD or thumb drive and try out Linux. You can also use third-party freeware apps to find a suitable distro, including LinuxLive USB Creator (LiLi).
Windows currently have either WSL 1 (Windows Subsystem for Linux) or WSL 2, depending on your build of Windows. If your copy of Windows 10 is up to date, the best Windows Subsystem for Linux (WSL 2) is installed but will require an update. Before proceeding, you should already be running Windows 10 2004 or later, and this tutorial assumes that. Microsoft plans to add support for Windows 10 1903 and 1909.
Step 1 - Enable the Windows Subsystem for Linux
Open PowerShell as Administrator and type in:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Restart your computer. Windows might take a little longer to boot than usual, and you might see a "Working on updates." message.
Step 2 - Enable Virtual Machine
Open PowerShell as Administrator and type in:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Restart your computer. Windows might take a little longer to boot than usual, and you might see a "Working on updates." message.
Step 3 - Install Windows Subsystem for Linux Kernel Update Package
64-Bit users (WSL 2) should download the latest Download the Windows Subsystem for Linux Kernel Update Package.
Double-click wsl_update_x64.msi. The install should only take seconds.
Step 4 - Set WSL 2 as Your Default Version
Open PowerShell as Administrator and type in:
wsl --set-default-version 2
If you receive an error, type in wsl --help. If you can't find --set-default-version then you need to update Windows 10.
Step 5 - Install a Linux Distribution
Open the Microsoft Store and choose a Linux distribution. Only a handful of free choices is available at the time of this tutorial. Ubuntu and Debian are good choices.
Click on Get. Click on Launch when the installation completes.
Step 6 - Getting Started
The first run might take a minute, but future launches will be faster. Create a User name and Account that you can remember.
If you're new to Linux, many new users have found that Windows Terminal can be helpful.
Step 7 - Troubleshooting Errors
Here is a list of known errors and solutions if Linux will not run on Windows 10.
How to Install Linux Kernel in Windows 10
Source: https://www.majorgeeks.com/content/page/how_to_install_linux_in_windows_10.html