siman
11/17/2015 - 3:16 PM

Install Scala 2.11.7 and SBT 0.13.9 using apt-get on Ubuntu 14.04 or any Debian derivative using apt-get

Install Scala 2.11.7 and SBT 0.13.9 using apt-get on Ubuntu 14.04 or any Debian derivative using apt-get

sudo apt-get remove scala-library scala
sudo wget www.scala-lang.org/files/archive/scala-2.11.7.deb
sudo dpkg -i scala-2.11.7.deb
sudo apt-get update
sudo apt-get install scala

echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823
sudo apt-get update
sudo apt-get install sbt

# Then read setup instuctions for SBT:
# http://www.scala-sbt.org/0.13/tutorial/Manual-Installation.html