Friday, June 26, 2020

How to Install Apache Spark on Linux Ubuntu

First of all, you need to have Java already installed; if you don't I recommend this article to install Java. Then you will need to install Scala:

Once done installing Scala, you will need to download the Apache Spark binaries archive and install it:

Afterward and in order to avoid moving to Spark's bin directory every time you want to interact with it, add Spark's bin directory to the PATH system's variable. To do so open .bashrc script vim .bashrc and add the following lines in the bottom of the file:

That's it, you only have to apply the last modifications running source ~/.bashrc

No comments:

Post a Comment