====== PSPSDK (Ubuntu 20.04 LTS WSL2) ======
wsl -l -v && wsl --shutdown
===== Подготовка =====
sudo apt update && sudo apt upgrade -y
sudo apt install git make cmake ninja-build -y
sudo apt install python-is-python3 -y
sudo apt clean && sudo apt autoclean
===== Установка =====
sudo mkdir -p /usr/local/pspdev
sudo chown $USER:$(id -gn $USER) /usr/local/pspdev
echo export PSPDEV=/usr/local/pspdev >> ~/.bashrc
echo export PATH=\$PSPDEV/bin:\$PATH >> ~/.bashrc
exit
wsl --shutdown
wget -q --show-progress http://127.0.0.1/pspdev-2021-02-10.tar.gz
tar -xvf pspdev-2021-02-10.tar.gz -C $PSPDEV --strip-components=1
===== Источники =====
https://ubuntuforums.org/showthread.php?t=1038692
https://psp-dev.org/doku.php?id=tutorial:toolchain_setup