First verify java JDK: openjdk-7-jdk as in Ubuntu workstation setup.
- Download latest tarball from scala-sbt page. CAUTION: do not try deb-file.
- Uppack somewhere and add ...
sbt/binto~/.bashrc - Verify: in new terminal
sbt -h
NOTE: sbt provides interactive console with scala interpreter (REPL "read-eval-print loop") without installing the full scala distribution (that would provide scala command instead).
cdproject directory,sbtto start sbt-shell (exitto quit)consoleto start interactive interpreter (ctrl dto switch back)
NOTE: interpreter console will start only if the code compiles without errors.
Intractive console from a new (empty) dir: cd there and sbt console. After some setup/downloads interactive Scala console will be available.
compilestyleChecktest(if unit tests are included)run(if some object providesmainmethod or extendsApptrait)
Scala IDE, Scala Worksheet etc. bundle from scala-ide page: choose Linux 64-bit download. Unpack, create shortcut for Eclipse.
Once Eclipse starts, scala worksheet option should be available for interactive work.
Expect huge memory use. Some tweaks for ScalaIDE are to be implemented in Eclipse.