See https://github.com/jimmckeeth/Delphi-on-Linux-Setup for updates
Short link for this GIST https://embt.co/Ubuntu4Delphi22
Update: For Delphi 12 Athens by Ian Barker
The below Bash script works with Ubuntu 20.04 LTS and 22.04 LTS, on WSL2, VM, or hardware install.
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 ubuntu
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
See also: https://gist.github.com/checkdigits/f910e3c4b308a25b31b9a5c1f23c5461
For RAD Studio 12 Athens.