Skip to content

Instantly share code, notes, and snippets.

@svs14
Created April 24, 2015 03:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save svs14/c44033c0ce712c23c856 to your computer and use it in GitHub Desktop.
Save svs14/c44033c0ce712c23c856 to your computer and use it in GitHub Desktop.
Installs Apache spark dependencies on Ubuntu 14.04
#!/bin/sh
# Installs Apache spark dependences on Ubuntu 14.04
# Install Oracle Java 7 JDK
sudo apt-add-repository ppa:webupd8team/java
sudo aptitude update
sudo aptitude install oracle-java7-installer
# Install scala
wget www.scala-lang.org/files/archive/scala-2.11.6.deb
sudo dpkg -i scala-2.11.6.deb
rm scala-2.11.6.deb
# Install sbt
wget http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.13.1/sbt.deb
sudo dpkg -i sbt.deb
rm sbt.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment