WSL 使用者可以執行wsl --list --online來檢視可用的散發套件,並可直接wsl --install <distroName>安裝它們(以 Linux 發行版的實際名稱取代 。 此程式是由散發指令清單檔案所控制。 您可以將此指令清單檔案新增至客戶 Linux 發行版,使其包含在命令選項中wsl --install。
Error code: Wsl/InstallDistro/E_UNEXPECTED What may be reason and how can I install Ubuntu 20.04 ? I havre already turn on: Copy Go to Control Panel-> Programs and Features -> Turn windows features on or off Uninstall Hyper-V & Windows-Subsystem for Linux Verify Hardware Compatibility b...
Oracle Linux 7.9 適用於 WSL 的 Fedora Remix 這會導致將<distro>.appx套件下載到您選擇的資料夾。 如果想要的話,您也可以透過命令列下載慣用的發行版本,而且可使用 PowerShell 搭配Invoke-WebRequestCmdlet。 例如,若要下載 Ubuntu 20.04: PowerShell
步骤1 - 启用适用于 Linux 的 Windows 子系统 需要先启用“适用于 Linux 的 Windows 子系统”可选功能,然后才能在 Windows 上安装 Linux 分发。 以管理员身份打开 PowerShell(“开始”菜单 >“PowerShell” >单击右键 >“以管理员身份运行”),然后输入以下命令: dism.exe /online /enable-feature /featurename...
要更改版本,请使用 wsl --set-version <distro name> 2 命令将 <distro name> 替换为要更新的 Linux 发行版的名称。 例如,wsl --set-version Ubuntu-20.04 2 会将Ubuntu 20.04 发行版设置为使用 WSL 2。 如果在 wsl --install 命令可用之前手动安装了 WSL,则可能还需要启用WSL 2 所使用的虚拟机可选组件...
WSL之Linux系统安装 Q: 什么是适用于 Linux 的 Windows 子系统? 答: 适用于 Linux 的 Windows 子系统(简称WSL-Windows Subsystem for Linux)可让开发人员直接在 Windows 上按原样运行 GNU/Linux 环境(包括大多数命令行工具、实用工具和应用程序),且不会产生传统虚拟机或双启动设置开销。
Add to Plan Share via Facebookx.comLinkedInEmail Windows Subsystem for Linux (WSL) will not install any Linux Distro Will James5Reputation points Sep 17, 2023, 8:57 PM I am using a Windows PC with the following specs: Edition: Windows 11 Home ...
使用'wsl --install -d <Distro>' 安装。 NAME FRIENDLY NAME * Ubuntu Ubuntu Debian Debian GNU/Linux kali-linux Kali Linux Rolling Ubuntu-18.04 Ubuntu 18.04 LTS Ubuntu-20.04 Ubuntu 20.04 LTS Ubuntu-22.04 Ubuntu 22.04 LTS Ubuntu-24.04 Ubuntu 24.04 LTS OracleLinux_7_9 Oracle Linux 7.9 OracleLinux...
3)用Powershell命令,在Windows系统里安装Ubuntu操作系统(导入到Linux子系统) (在开始菜单中找到PowerShell,以管理员身份运行;) Powershell命令格式: wsl --import <DistroName> <location to Install> <location of wsl.rootfs.tar.gz File> //Install到D盘的 D:\Ubuntu\16.04\ ...
Environment Windows build number: 10.0.19041.0 Your Distribution version: NA Whether the issue is on WSL 2 and/or WSL 1: WSL 2 Steps to reproduce I follow the docs to activate wsl 2 , then I am trying to install Linux distro , but failed...