Skip to content

Instantly share code, notes, and snippets.

@sarveshseri
Last active August 26, 2016 06:49
Show Gist options
  • Save sarveshseri/8bd589123bb0cf8bca201be2b32298c1 to your computer and use it in GitHub Desktop.
Save sarveshseri/8bd589123bb0cf8bca201be2b32298c1 to your computer and use it in GitHub Desktop.

Install Oracle Java 8

Ubuntu
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
OSX

Download from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html and Install.

Or... you can use brew

Prepare

cd ~
mkdir Installed
cd Installed

# Add to your .bashrc
export INSTALLED_HOME=~/Installed

Install Scala

Download and extract
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 PATH
# Add to your .bashrc
export SCALA_HOME=$INSTALLED_HOME/scala-2.11.8
export PATH=$PATH:$SCALA_HOME/bin

Install sbt

Download and extract
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 PATH
# Add to your .bashrc
export SBT_HOME=$INSTALLED_HOME/sbt
export PATH=$PATH:$SBT_HOME/bin

Lightbend Activator

Download and extract
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 PATH
# Add to your .bashrc
export ACTIVATOR_HOME=$INSTALLED_HOME/activator-1.3.10-minimal
export PATH=$PATH:$ACTIVATOR_HOME/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment