Reputation: 3169
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
Reputation: 3
Latest MacOS Catalina Scala deployment with Apache Spark and Kafka:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew cask install adoptopenjdk/openjdk/adoptopenjdk8
brew install set
brew install scala
brew install apache-spark
brew install kafka
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
Reputation: 128
You should add this line to your shell autoload file: .bashrc for bash or .zshrc for zsh.
Upvotes: 5