Install Spark on Debian/Ubuntu

For Debian/Ubuntu Systems use the Spark Debian Package.
You can download it from GitHub Releases page. Download the .deb file. You can copy its link and download with wget command:

wget https://github.com/igniterealtime/Spark/releases/download/v3.0.2/spark_3_0_2.deb

To install Spark execute the follow command:

sudo apt install ./spark_*.deb

The Spark will be installed to /opt/Spark/ and its launcher will be available from the Start menu

The Spark deb package has a dependency to the Java Runtime (JRE).
You may already have it so check with the java -version command.
If it’s not installed you can install the default JRE (LTS version 17, 21, 25 etc.):

sudo apt install default-jre
2 Likes