wsl install packages code example
Example 1: switch installed linx to wsl2
wsl.exe --set-version Ubuntu 2
Example 2: E: Unable to locate package wsl
sudo apt update
Example 3: cant download tree ubuntu windows 10
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"