How to Install WSL and Ubuntu 20.04 LTS on Windows 10

Ubuntu terminal for Windows has many of the same features of using the terminal on Ubuntu:-
  • Updates and Security features
  • Bash, shell environments without virtual machines or dual-booting
  • A huge community of friendly, approachable users

Ubuntu LTS on Windows allows you to use Ubuntu Terminal and run Ubuntu command line utilities including bash, apt, ssh, git, and many more.

First one "Turn Windows features on or off" and select "Windows Subsystem for Linux", click OK, reboot, and use this app.


Installing Ubuntu on WSL via rootfs :-

Open Powershell run as Administrator :

wsl --install

Distribution installed 

wsl --install -d <Distribution Name>

To list available Linux distrubution download through the online store:

wsl --list --online or wsl -l -o

After sucessfully installed WSL in windows system.

Install Windows Subsystem for Linux (WSL) on Windows 10 :-

  • Open PowerShell as an administrator

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

  • Restart the computer when prompted

Install Ubuntu 20.04 (Requires WSL) :-

  • First open Microsoft Store and download Ubuntu 20.04 LTS.
  • Install and Launch Ubuntu 20.04.
  • After Username and Password enter.
  • Start Ubuntu 20.04 update all software packages with:-
sudo apt update -y

sudo apt upgrade -y


Post a Comment