Installing the Simple Build Tool (SBT) on Debian-based Linux Systems
including Ubuntu, Mint

0. Install Java and Scala, if you have not already

$ sudo apt-get install openjdk-7-jre
Download the Scala DEB package (scala-2.10.3.deb) from http://www.scala-lang.org/download/2.10.3.html

1. Download sbt DEB package from the sbt website

$ wget http://repo.scala-sbt.org/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.13.1/sbt.deb

2. Install sbt via dpkg

$ sudo dpkg -i sbt.deb

3. Install missing dependencies that caused errors in previous step (Skip if you got no errors)

$ sudo apt-get install -f

4. Dowload and extract ScalaTion

$ wget http://cobweb.cs.uga.edu/~jam/scalation_1.1.tar.gz
$ tar xvfz scalation_1.1.tar.gz

5. Export the SCALATION_CLASSES environment variable to point at class files

// Put this in your ~/.profile file to make it permanent. Then, execute "source ~/.profile" to reflect changes on the current session.

$ export SCALATION_CLASSES=$HOME/scalation_1.1/target/scala-2.10/classes

6. Test SBT installation by compiling ScalaTion

$ cd scalation_1.1
$ sbt compile