logo
search
list

Table of Content

What WSL Does—and What It Does Not
Check Prerequisites Before You Install
Install WSL With the Official One-Command Path
Verify WSL 2 and Your Distro Status
Choose a Different Distro When You Need One
Fix the Failures That Block First Setup
After WSL Works: Keep Documents on Windows with WPS Office
FAQ

What Windows Subsystem for Linux Is and How to Install It

Posted by Algirdas Jasaitis

calendar

2026-07-27

views

870

likes

4

Windows Subsystem for Linux (WSL) lets you run a real Linux distribution—commonly Ubuntu—directly on Windows without a full dual-boot setup. On Windows 11, or Windows 10 version 2004 and higher (Build 19041+), the shortest path is an elevated PowerShell command: wsl --install, then restart, then create your Linux username when Ubuntu first launches.

For a full setup path, follow how to install Windows Subsystem for Linux; for a first distro choose Windows Subsystem for Linux Ubuntu or WSL Arch Linux. If wsl -l -v is empty, see WSL has no installed distributions; for GUI apps, use WSL Linux GUI.

Success looks like this: after reboot, Ubuntu opens, you set a UNIX username and password, and wsl --list --verbose shows your distro with VERSION set to 2. If WSL reports that no distributions are installed, virtualization is disabled, Virtual Machine Platform is off, or install hangs near 0%, use the troubleshooting section below before any unregister or reset steps.

100% secure
Windows Subsystem for Linux concept: Windows desktop with Ubuntu terminal running wsl --install
Windows Subsystem for Linux connects a Windows desktop to an Ubuntu shell—install with wsl --install, then verify with wsl --list --verbose.

What WSL Does—and What It Does Not

WSL gives Windows developers and power users Linux shells, package tools, and many Linux utilities beside Windows apps. Microsoft documents that you can install distributions such as Ubuntu, Debian, openSUSE, and others, then run Linux commands without the overhead of a traditional full virtual machine workflow for everyday CLI work.

WSL is not a complete replacement for every Linux desktop scenario. Some workloads still need a native Linux install, dual boot, or a conventional VM. Treat WSL as a Linux environment on Windows, not as “Linux replacing Windows.”

Check Prerequisites Before You Install

Confirm your Windows build:

  1. Press Win + R, type winver, and press Enter.

  2. Confirm Windows 11, or Windows 10 version 2004 / Build 19041 or newer for the modern wsl --install flow.

On older Windows 10 builds, Microsoft directs you to the manual WSL installation steps instead of relying on the one-command installer alone.

Also plan for administrator rights, a restart during setup, and CPU virtualization available in firmware (often labeled Intel VT-x, AMD-V, or SVM).

Install WSL With the Official One-Command Path

  1. Right-click Start → open Windows PowerShell (Admin) or Terminal (Admin).

  2. Run:

wsl --install

According to Microsoft Learn, this enables the required Windows features, installs the latest WSL Linux kernel support path used by current installs, sets WSL 2 as the default for new distros, and installs Ubuntu by default (unless you choose another distribution).

  1. Restart Windows when prompted.

  2. After reboot, open Ubuntu from the Start menu and wait while the distro finishes first-run setup.

  3. Create a Linux username and password when asked. The password will not echo as you type; that is normal.

Expected result: an Ubuntu shell prompt appears under your new Linux user.

If wsl --install only prints WSL help text, WSL is already present. Install a distribution explicitly:

wsl --list --online
wsl --install -d Ubuntu

Use an exact name from the online list. Do not invent distro names.

Verify WSL 2 and Your Distro Status

wsl --list --verbose

Expected result: at least one distribution is listed, STATE is Running or Stopped, and VERSION is 2 for a current default install.

wsl --status
wsl --version

To open your default distro:

wsl

Inside Linux:

uname -a
lsb_release -a

Choose a Different Distro When You Need One

wsl --list --online
wsl --install -d Debian

Replace Debian with an exact name from the list. If install progress sticks near 0.0%, Microsoft’s guidance includes:

wsl --install --web-download -d Ubuntu
Use Word, Excel, and PPT for FREE

Fix the Failures That Block First Setup

“Windows Subsystem for Linux has no installed distributions”

Meaning: WSL components may be present, but no Linux distro finished installing.

wsl --list --online
wsl --install -d Ubuntu

Then relaunch Ubuntu and complete username setup. Only after a distro is confirmed broken should you consider unregistering it.

Virtualization or Virtual Machine Platform errors

Check firmware virtualization first. Then, in an admin PowerShell:

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Restart Windows, then retry:

wsl --set-default-version 2
wsl --install -d Ubuntu

Distro installed from Store but WSL feature never enabled

Prefer wsl --install on supported builds. Installing a Store app alone does not replace enabling WSL correctly.

Install hangs or WSL commands freeze

Try the web-download path, then update WSL:

wsl --update

If a specific distro is corrupt and non-destructive repair fails, unregister is destructive: it removes that distribution’s Linux data. Back up files from \\wsl$\\ first.

wsl --terminate Ubuntu
wsl --unregister Ubuntu
wsl --install -d Ubuntu

Replace Ubuntu with your exact distro name from wsl --list --verbose.

After WSL Works: Keep Documents on Windows with WPS Office

Once Ubuntu (or another distro) runs under WSL, day-to-day Word, Excel, and PowerPoint work is usually still easier on the Windows side. Keep the Linux shell for CLI tasks and store shareable office files where Windows apps open them cleanly.

WPS Office on Windows covers that handoff with Writer, Spreadsheet, Presentation, and PDF tools—so your .docx, .xlsx, and .pptx files stay familiar while WSL handles development work.

WPS Office Writer on Windows editing WSL setup notes in a DOCX document
WPS Writer on Windows: keep WSL setup notes, command snippets, and handoff checklists in a DOCX teammates can open.
What you need nextWhat WPS gives you
Edit Office files on Windows while WSL runs Linux toolsStrong .docx / .xlsx / .pptx layout fidelity when files move between Windows, Linux, and macOS
One place for notes, sheets, slides, and PDFsFree core suite: Writer, Spreadsheet, Presentation, plus PDF view/edit/convert tools
A familiar desktop UIRibbon-style apps that feel close to everyday Office workflows
A trusted install pathOfficial Windows installer from wps.com, with Free Download available on this page

Install WPS Office on Windows from the official WPS Office download (or use Free Download on this page). Keep project notes and deliverables in DOCX/XLSX/PDF on Windows; use WSL for the shell, packages, and scripts.

Related WSL guides: uninstall Windows Subsystem for Linux; WSL has no installed distributions; WSL Linux GUI; WSL Arch Linux.

WPS Writer
WPS Presentation
WPS Spreadsheet
WPS PDF
Edit Documents Alongside WSL with WPS Office Free

FAQ

Is WSL the same as dual-booting Ubuntu?

No. Dual boot shares the machine’s bootloader between full operating systems. WSL runs a Linux distribution beside Windows for command-line and many app scenarios with much less setup.

Do I need the Microsoft Store to install WSL?

Not necessarily. On supported Windows 10/11 builds, wsl --install is Microsoft’s recommended starting point.

Should beginners use WSL 1 or WSL 2?

New installs from wsl --install default to WSL 2. Stay on WSL 2 unless you have a specific compatibility reason to set a distro to version 1.

Can I run graphical Linux apps?

Current WSL versions can support Linux GUI apps on supported Windows builds, but that is a separate setup topic from first install. Get wsl --list --verbose healthy first.

Where should I store project files?

For Linux tools, prefer your Linux home directory. For Office documents you edit in Windows apps, keep files under your Windows user folders and open them with WPS Office or another Windows editor.

Algirdas Jasaitis

15 years of office industry experience, tech lover and copywriter. Follow me for product reviews, comparisons, and recommendations for new apps and software.