sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Download from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html and Install.
Or... you can use brew
cd ~
mkdir Installed
cd Installed
# Add to your .bashrc
export INSTALLED_HOME=~/Installed
cd $INSTALLED_HOME
# using wget
wget http://downloads.lightbend.com/scala/2.11.8/scala-2.11.8.tgz
# using curl
curl -O http://downloads.lightbend.com/scala/2.11.8/scala-2.11.8.tgz
tar -xvf scala-2.11.8.tgz
# Add to your .bashrc
export SCALA_HOME=$INSTALLED_HOME/scala-2.11.8
export PATH=$PATH:$SCALA_HOME/bin
cd $INSTALLED_HOME
# using wget
wget https://dl.bintray.com/sbt/native-packages/sbt/0.13.12/sbt-0.13.12.tgz
# using curl
curl -O -k -L https://dl.bintray.com/sbt/native-packages/sbt/0.13.12/sbt-0.13.12.tgz
tar -xvf sbt-0.13.12.tgz
# Add to your .bashrc
export SBT_HOME=$INSTALLED_HOME/sbt
export PATH=$PATH:$SBT_HOME/bin
cd $INSTALLED_HOME
# using wget
wget https://downloads.typesafe.com/typesafe-activator/1.3.10/typesafe-activator-1.3.10-minimal.zip
# using curl
curl -O https://downloads.typesafe.com/typesafe-activator/1.3.10/typesafe-activator-1.3.10-minimal.zip
tar -xvf typesafe-activator-1.3.10-minimal.zip
# Add to your .bashrc
export ACTIVATOR_HOME=$INSTALLED_HOME/activator-1.3.10-minimal
export PATH=$PATH:$ACTIVATOR_HOME/bin