CMD/PowerShell (as admin): wsl --set-default-version 2 //switch wsl ver, default is wsl 1 Open the ubuntu terminal, and waiting … set the password wsl2ubuntu sudo passwd root //wsl2ubuntu@PCname:~$ sudo apt up
Ubuntu will then install on your machine. The one line install! There is a single command that will install both WSL and Ubuntu at the same time. When opening PowerShell for the first time, simply modify the initial instruction to: wsl --install -d ubuntu This will install both WSL and...
PowerShellCopy wsl--install This command will enable the features necessary to run WSL and install the Ubuntu distribution of Linux. (This default distribution can be changed). If you're running an older build, or just prefer not to use the install command and would like step-by-step direct...
Method 2: WSL commands in the terminal It is possible to install the same Ubuntu versions available on the Microsoft Store directly from the command line. In a PowerShell terminal, you can run wsl --list --online to see an output with all available distros and versions: :class: no-copy...
PowerShellCopy wsl--install This command will enable the features necessary to run WSL and install the Ubuntu distribution of Linux. (This default distribution can be changed). If you're running an older build, or just prefer not to use the install command and would like step-by-step direct...
To install WSL on Windows 10, openCommand Prompt(orPowerShell) as admin and runwsl --installto install all the WSL2 components and the Ubuntu Linux distro. If you want to install a specific distro, run thewsl --install -d DISTRO-NAMEcommand, and to update the WSL kernel, run thewsl ...
powershell wsl --install 你也可以指定安装其他Linux发行版,例如Ubuntu 22.04 LTS: powershell wsl --install -d Ubuntu-22.04 3. 设置并启动WSL Linux发行版 安装完成后,你可以通过开始菜单找到并启动你的Linux发行版。 第一次启动Linux发行版时,系统会要求你设置一个Linux用户名和密码。这是你的Linux账户信...
Open PowerShell or Windows Command Prompt in administrator mode by right-clicking and selecting "Run as administrator". Enter the Linux install command: wsl --install. Restart your machine. Install Linux command options By default, the install command will use the Ubuntu distribution of Linux. You...
While Powershell runs in the background, open a WSL Ubuntu terminal window. DO NOT CLOSE POWERSHELL window. In Ubuntu terminal, verify Orin Nano Dev Kit is attached withlsusbcommand READY TO FLASH QSPI BOOTLOADER WITHOUT SD CARD INSTALLED ...
github-actions commentedon Feb 20, 2024 github-actions Hi, I also had this error code/problem and resolved by running wsl --install Ubuntu --web-download in admin powershell prompt. without admin, I received error you mention. with admin but no web-download flag, installation hangs at 0.0...