How to bring Ubuntu to your Windows 10 without VM
Yes, you heard it right! Now Run Ubuntu Terminal Env on your Windows 10 Machine using WSL.
But wait, WTH is WSL?
WSL executes unmodified Linux ELF64 binaries by virtualizing a Linux kernel interface on top of the Windows NT kernel. It is the space between the user-mode Linux binaries and the Windows kernel components where the magic happens.
Now let’s do the Magic Happen on your Windows 10 Machine
Remember: Builds lower than 18362 do not support WSL 2 so rush update your windows to the latest version for the magic to unfold.
Step 1 — Enable the WSL optional Feature
Fire up Powershell as Administrator (Ctrl+Shift+Enter) and Run the following command:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Step 2— Enable the Virtual Machine feature
Again now Run the following command in Powershell as Administrator
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Now Restart your computer and wait for the feature to take Birth
Step 3— Download the Linux kernel update package
Download it from here and Run for x64 machine Users. https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
ARM64 Version users can download from here.
https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_arm64.msi
If you are not sure about your Machine type check it with the following command :
systeminfo | find “System Type”
Step 4— Now set WSL 2 as your default version
A whole lot of performance features are in WSL2 so let’s run it in Powershell
wsl — set-default-version 2
Step 5— Finally Install favorite Linux distribution
Now Head to https://aka.ms/wslstore and choose your favorite Distro.
Click on Ubuntu and select get you can also get your favorite one.
Hurray😀, the magic has happened now you have successfully installed Ubuntu in your Windows 10 without a VM Now Setup Username and Password in your new Ubuntu Machine running and enjoy.
This is my first Article in Medium. Show your support to write infinite like this.