I need to install spark and run it in standalone mode on one machine and looking for a straight forward way to install it via apt-get
I found how to do this with py
Before installing pyspark you must install Java8. This is described at
For a fully automatic installation of Java8 on Ubuntu do
$ apt-get update
$ apt-get -y install software-properties-common
$ add-apt-repository -y ppa:webupd8team/java
$ echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
$ echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections
$ apt-get update
$ apt-get -y install oracle-java8-installer
(see https://newfivefour.com/docker-java8-auto-install.html)
Afterwards you can simply run pip install pyspark
.