Silvester
Silvester

Reputation: 3169

Install scala on Mac OSX Lion

http://cingusoft.posterous.com/install-scala-on-mac-os-x

I changed .profile and save. after I type

source .profile

at first it works, but after I close terminal and re-opened, It doesn't work.

How do I this problem?

Getting a Scala interpreter to work

I solved on my own.

Upvotes: 2

Views: 6231

Answers (2)

Jan Rock
Jan Rock

Reputation: 3

Latest MacOS Catalina Scala deployment with Apache Spark and Kafka:

  1. Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  1. Install Java JDK8
brew cask install adoptopenjdk/openjdk/adoptopenjdk8
  1. Install SBT
brew install set
  1. Install Scala (latest 2.13.3)
brew install scala
  1. Install Spark (latest 3.0.0)
brew install apache-spark
  1. Install Kafka (latest 2.5.0)
brew install kafka
  1. Etc. for Cassandra
brew install cassandra ...

Latest Ubuntu 20.04 "One-Click" deployment:

curl -Lo cs https://git.io/coursier-cli-linux && chmod +x cs && ./cs setup

Upvotes: 0

mytrile
mytrile

Reputation: 128

You should add this line to your shell autoload file: .bashrc for bash or .zshrc for zsh.

Upvotes: 5

Related Questions