Install Ubuntu on Windows for Linux

Install Ubuntu on Windows for Linux

Today, in this article, we show how to Install Ubuntu on Windows for Linux. When Microsoft introduced the Windows Subsystem for Linux, a way to run genuine Linux inside Windows without having to define up a virtual machine, many chins dropped. WSL2 is the newest and best support the project has received.

This advances the situation a bit and makes using Linux on Windows 10 and Windows 11 even more fantastic. You must first have WSL to get WSL2. The procedures for enabling the first and second iterations are quite different, which can seem a bit confusing. However, you must first own the original to own the latest. There is no simple way to simply install WSL2. Users can install known Linux distributions using Windows Services for Linux which is compatible with Windows 10 and 11. Below we have mentioned the steps to install Ubuntu on Windows for Linux.

Steps to Install Ubuntu on Windows for Linux

Install the Windows Subsystem for Linux

Step 1: Open PowerShell as administrator

Step 2: To allow-Optional Windows Feature -Connected –Resource name Microsoft-Windows-Subsystem-Linux

Step 3: Restart the computer when prompted

Install Ubuntu 18.04

Step 1: open the Microsoft Store (search for “store” in the start menu)

Step 2: Search the store for “Ubuntu 18.04

Step 3: Install Ubuntu 18.04 LTS (no need to login to the store)

Step 4: Start Ubuntu 18.04

Step 5: enter a user name. This will create a local user account and you will be automatically logged into Ubuntu 18.04 like this user.

Step 6: enter a password for the user and enter a second time to confirm.

Step 7: Update all Ubuntu 18.04 software packages with sudo apt update && sudo apt upgrade -y

Final Words

We hope you like our article on how to Install Ubuntu on Windows for Linux. Without any modifications, additional virtual machine software, or dual-boot configurations, developers can run a Linux environment directly on Microsoft Windows 10, thanks to a program called Windows Subsystem for Linux 2, or WSL. WSL offers native integration with most programs on your workstation, providing a Linux-like development environment on Windows. WSL achieves this by running Hyper-V, an integrated virtualization program from Microsoft.

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top