User Tools

Site Tools


windows:ubuntu_wsl

Information

  • Ubuntu 1)
  • WSL

Windows

Windows Terminal

VCLibs

powershell -Command "Add-AppxPackage https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx"

Windows Terminal

powershell -Command "Add-AppxPackage https://github.com/microsoft/terminal/releases/download/v1.16.10261.0/Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msixbundle"

WSL

Install

  • :!: Reboot after installing
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

WSL 1

  • WSL 2 requires CPU virtualization
  • If WSL presents a list of commands, reboot
wsl --set-default-version 1

Ubuntu

wsl --install --distribution "Ubuntu"

Ubuntu

WSL

wt wsl

Update

sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt clean && sync
sync && exit

Folders

mkdir -p ~/'Downloads'
/usr/local/www/wiki/data/pages/windows/ubuntu_wsl.txt · Last modified: by 127.0.0.1