Skip to content

Instantly share code, notes, and snippets.

@Aslan
Last active November 2, 2015 22:05
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 Aslan/f995f4c975bf3f7bf536 to your computer and use it in GitHub Desktop.
Save Aslan/f995f4c975bf3f7bf536 to your computer and use it in GitHub Desktop.
Install scala on jenkins server(ubuntu 12.04) based on https://gist.github.com/visenger/5496675
# upgrade from java 1.6 to 1.7
apt-get install openjdk-7-jre
update-alternatives --config java # chose java 1.7
# install scala 2.10.4 (same version as AWS EMR)
apt-get remove scala-library scala
wget http://www.scala-lang.org/files/archive/scala-2.10.4.deb
apt-get update
apt-get install scala
wget https://bintray.com/artifact/download/sbt/debian/sbt-0.13.9.deb
dpkg -i sbt-0.13.6.deb
apt-get update
apt-get install sbt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment