openEuler on WSL — two Windows-side install paths, the Store app and the sideload tar.gz import (official wiki positions + artifact probing)
Verification scope
Section titled “Verification scope”This page’s evidence is documentation track + artifact probing: the openEuler official Wiki’s WSL install guide (openeuler.org/zh/wiki/install/wsl, probed online 2026-11-04, HTTP 302 → content page), the official blog (a 2023-09-08 WSL getting-started article, including gala-ops performance-monitoring integration), and the WSL entry on the official download page. Download verification of the WSL packages (Store app/sideload tar.gz) and real Windows installation were not performed — this site’s lab environment has no Windows WSL host; all runtime assertions are official positions, see the end.
This page’s purpose: give readers who “want openEuler on Windows” a route map and trade-off judgment, not a keystroke-by-keystroke screenshot install log.
Two install paths
Section titled “Two install paths”The official Wiki offers two routes, chosen by whether you have Microsoft Store access:
| Path | Fits | Action |
|---|---|---|
| Store app | Personal Windows (store accessible) | Search “openEuler” in the Microsoft Store → install → launching registers it as a WSL distribution |
| sideload tar.gz | Corporate intranets/offline machines/bulk import | Fetch the 24.03 LTS WSL tar.gz package from the official download page → import with wsl --import |
The command shape of the sideload path (generic Microsoft WSL semantics, per the official Wiki):
# Administrator PowerShell; enable WSL2 first (if not enabled, install the kernel components first per Microsoft's official docs)wsl --import <distro-name> <install-dir> <path-to-openEuler-24.03-LTS-xxx.tar.gz>wsl -d <distro-name>Version basis: the official Wiki’s WSL guide is based on openEuler 24.03 LTS — consistent with the server-side selection logic (LTS lines live long; WSL images follow the LTS).
WSL vs containers: how to choose
Section titled “WSL vs containers: how to choose”There are three levels of “experiencing openEuler on Windows”, and the boundaries must be kept clear:
| WSL distribution | Docker container | PVE/VM | |
|---|---|---|---|
| systemd | Supported (WSL2 modern versions after enabling systemd=true) | No PID1 systemd in containers | Full |
| Package management | Full dnf (per the official Wiki: the WSL package carries the openEuler repositories; dnf not executed inside WSL in testing) | Full dnf | Full |
| Graphical apps | WSLg (Windows 11/modern WSL) | Bring your own X server | Full desktop |
| Windows interop | File access/clipboard/wsl.exe interworking | None | None |
| Kernel | Microsoft WSL2 kernel (not the openEuler kernel) | Host kernel | openEuler kernel |
| Best for | Dev environments, learning, mixed Windows workflows | CI/builds/one-off tasks | Near-production validation |
Key insight: openEuler in WSL runs on the Microsoft WSL2 kernel — it is not a runtime for “the openEuler kernel”. Content involving kernel behavior (this site’s kernel, eBPF and cgroup v2 deep-dive pages) must be verified on VMs/physical machines; WSL is only suitable for user-space and package-management-level verification. The official blog has demonstrated gala-ops performance monitoring (flame graphs) running on openEuler in WSL, showing that the user-space observability toolchain works inside WSL.
Common pitfalls (summarized from official positions, not individually tested)
Section titled “Common pitfalls (summarized from official positions, not individually tested)”- WSL2 vs WSL1: openEuler’s WSL package targets WSL2; WSL1’s syscall translation layer has poor compatibility with systemd/rpm scripts — don’t use it;
- systemd not enabled: older WSL defaults to
systemd=false; add[boot]\nsystemd=trueto/etc/wsl.conf, thenwsl --shutdownand restart for it to take effect; - The Store app is unavailable in enterprise environments → go sideload; the tar.gz integrity check works like the official ISO with sha256 (the download page provides the checksums from the same source);
- The default user after import: a distribution imported with
wsl --importlogs in as root by default; creating a normal user and NSUDO habits follow the generic WSL distribution documentation.
Unverified
Section titled “Unverified”- Real Windows installation not performed: the Store app install flow, the sideload tar.gz download-check-import-first-launch sequence, the effect of enabling systemd, WSLg graphical sessions — none tested in this environment (the lab has no Windows WSL host; if conditions arise later, this section will be replaced with a screenshot-backed record);
- The tar.gz package’s current URL and checksum values are not in evidence: the WSL asset entry on the official download page updates with versions (at writing time, defer to the live page); this page makes no fixed-URL assertions;
- The actual effect of gala-ops performance monitoring in WSL: per the official blog, not reproduced.