Skip to content

Instantly share code, notes, and snippets.

@ansrivas
Last active August 29, 2015 14:21
Show Gist options
  • Save ansrivas/4c5c3ecd257443a09975 to your computer and use it in GitHub Desktop.
Save ansrivas/4c5c3ecd257443a09975 to your computer and use it in GitHub Desktop.
Instructions to install sbt and scala on ubuntu 14.04
For Scala installation:
// to install any desired version of scala for eg: scala-2.11.6.deb
$ wget http://www.scala-lang.org/files/archive/scala-2.11.6.deb
$ sudo dpkg -i scala-2.11.6.deb
$ sudo apt-get update
For SBT installation
// version 0.13.8
$ echo "deb http://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
$ sudo apt-get update
$ sudo apt-get install sbt
//To make sure sbt uses the latest version of scala
$ sudo vim ~/.sbt/0.13/global.sbt
//insert this line
scalaVersion:= "2.11.6"
save and exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment