Now with Scala installed go to your terminal and type: brew install apache-spark
Now with Homebrew installed go to your terminal and type: brew install scala Step 5: Use Homebrew to install Apache Spark After running this Homebrew should have taken care of the Java install. You may need to enter your password at some point to complete the java installation. In your terminal type: brew cask install java The easiest way to install it is to just use HomeBrew: Scala is dependent on Java, you may or may not need to install it. You will get a prompt that looks something like this: Go to you terminal and type: xcode-select -install In order to install Java, Scala, and Spark through the command line we will probably need to install xcode-select and command line developer tools. Installing everything through Homebrew should automatically add all the appropriate PATH settings to your profile. There are more detailed instructions on installing on the project’s GitHub page. Which basically just tells you to open your terminal and type: /usr/bin/ruby -e "$(curl -fsSL )" You can get Homebrew by following the instructions on it’s website.
Homebrew makes your life a lot easier when it comes to installing applications and languages on a Mac OS. Here is a Step by Step guide to installing Scala and Apache Spark on MacOS.
DOWNLOAD SPARK FOR MAC HOW TO
By Jose Marcial Portilla How to Install Scala and Apache Spark on MacOS