WSL 使用者可以執行wsl --list --online來檢視可用的散發套件,並可直接wsl --install <distroName>安裝它們(以 Linux 發行版的實際名稱取代 。 此程式是由散發指令清單檔案所控制。 您可以將此指令清單檔案新增至客戶 Linux 發行版,使其包含在命令選項中wsl --install。
wsl --install -dDISTRO-NAME Remember to replace“DISTRO-NAME”in the command with the distro’s name to install, such asDebian. Restart your computer. Continue with the Linux distro setup as necessary. After you complete the steps, the Windows Subsystem for Linux 2 components will be install...
Install clean copy of distro under new name (#11266), similarity score: 0.81 Install more than one instance of a distribution (#11116), similarity score: 0.81 Ability to install multiple instances of a distro with wsl --install <distro> <instance_name> <location> --version 1/2 (#6883)...
Thatwsl --installworks. Actual Behavior C:\> wsl --install The server name or address could not be resolved Error code: Wsl/InstallDistro/WININET_E_NAME_NOT_RESOLVED Diagnostic Logs diagnostics.zip Almost two weeks with broken WSL, and the minute I create the ticket, I find the solution. ...
To change versions, use the command:wsl --set-version <distro name> 2replacing<distro name>with the name of the Linux distribution that you want to update. For example,wsl --set-version Ubuntu-20.04 2will set your Ubuntu 20.04 distribution to use WSL 2. ...
We’ve also added some additional features to wsl.exe to help with this. By default when you runwsl--installwithout any additional parameters, you’ll installUbuntu. You can also install any distribution of your choice by runningwsl--install-d<Distro>. You can see a full l...
git config --global user.name userName git config --global user.email userEmail 使用HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议配置并使用私人令牌替代登录密码进行克隆、推送等操作 Username for 'https://gitee.com': userName ...
Hey guys,Haven't been able to install wsl on windows. Here's a summary of my painS C:\Users\[me]> wsl -d Ubuntu-22.04 There is no distribution with the supplied name. Error code: Wsl/Service/WSL_E_DISTRO_NOT_FOUND PS C:\Users\[me]> wsl --install -d Ubuntu-22.04 Ubuntu 22.04...
你也可尝试其他 systemd 方案,如distrod,genie,或参考ArchWSL Known issues。 配置用户 创建一个用户“ws”,并允许其使用 sudo # 配置 sudoEDITOR=vim visudo -- %wheelALL=(ALL:ALL)ALL# 新增用户 ws 并加入 wheel用户组useradd ws -m -G wheel -s /bin/bash# 设置用户密码passwd ws# 设置 ws 为默认...
Install and check 安装并检查 Enter Arch terminal. 进入Arch 终端. Mesa(OpenGL,GLX,EGL,GLES) $ sudo pacman -S mesa mesa-utils $ glxinfo -B|grep render direct rendering: Yes OpenGL renderer string: D3D12(Your GPU)$ eglinfo -B $ glxgears ...