--> How to Install Ubuntu on Windows (WSL) | YesMyWeb

How to Install Ubuntu on Windows (WSL)

How to Install Ubuntu on Windows Using WSL 1. Enable WSL and Virtual Machine Platform Open PowerShell as Administrator: ...


How to Install Ubuntu on Windows Using WSL

1. Enable WSL and Virtual Machine Platform

Open PowerShell as Administrator: Press Windows + X and select Windows PowerShell (Admin). Run:

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Restart your computer.

2. Install WSL 2 (Optional but recommended)

After restart, open PowerShell as Administrator again and run:

wsl --set-default-version 2

3. Install Ubuntu from Microsoft Store

Open Microsoft Store, search for Ubuntu (e.g., "Ubuntu 20.04 LTS" or "Ubuntu 22.04 LTS"), then click Get or Install.

4. Set up Ubuntu

Launch Ubuntu from the Start menu. It will take a few minutes to set up. Create a username and password when prompted.

5. (Optional) Upgrade to WSL 2 if not set

Run:

wsl --list --verbose

Find your Ubuntu distribution, and if it shows version 1, upgrade by running:

wsl --set-version Ubuntu-20.04 2

Replace Ubuntu-20.04 with your installed distribution name.

Ad

Ad

Name

Databases,1,MySQL,1,Ubuntu,1,web control panel,1,
ltr
item
YesMyWeb: How to Install Ubuntu on Windows (WSL)
How to Install Ubuntu on Windows (WSL)
https://linuxgenie.net/wp-content/uploads/2022/07/how-to-install-ubuntu-22.04-on-wsl-in-windows.jpg
YesMyWeb
https://yesmyweb.blogspot.com/2025/10/how-to-install-ubuntu-on-windows-wsl.html
https://yesmyweb.blogspot.com/
https://yesmyweb.blogspot.com/
https://yesmyweb.blogspot.com/2025/10/how-to-install-ubuntu-on-windows-wsl.html
true
8833990349988608515
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy