Settings up Ubuntu LTS for Delphi 11.3 Alexandria
Short link for this GIST https://embt.co/Ubuntu4Delphi22
The below Bash script works with Ubuntu 20.04 LTS and 22.04 LTS, on WSL2, VM, or hardware install.
Installing WSL2 on Windows 11
Microsoft has a full article with all the details. This is a summary for quick reference.
On Windows you need to do this from an elevated (administrator) command prompt or PowerShell window. Easiest way is Win+X,A.
wsl --install -d Ubuntu
Once your machine has finished rebooting, installation will continue and you will be asked to enter a username and password. This will be your Linux credential for the Ubuntu distribution.
Start Ubuntu from the start menu, or from the terminal by typing
Then run the following script
curl -L https://embt.co/SetupUbuntu4Delphi22 | bash
If you don't have curl installed then run
sudo apt install curl -y first