These instructions should work on any Ubuntu-based OS, but have only been tested on GalliumOS.
Copy and paste the following line into a terminal and press enter to install all the dependencies (you might already have some installed):
sudo apt update
sudo apt install python-software-properties python3 python3-pip idle3 git
sudo apt install openjdk-8-jre-headless openjdk-8-jdk maven