Scala is fun, but getting started can be daunting. This is how I got the Scala IDE for Eclipse running on my Linux system.
These directions assume you know your way around UNIX/Linux command line.
First, you need a java compiler. Run this to see what output it produces:
javac -version
If you get a "command not found error", you can install it with this:
sudo apt-get install openjdk-8-jdk
If the version is 9 or greater, that's probably too high. Consider using someting like jabba (or perhaps Docker) for version management.
Visit http://scala-ide.org/download/sdk.html and download the Linux version. It's a .tar.gz
file. Extract it as root into /opt
:
sudo mkdir -p /opt
cd /opt
sudo tar xvfz path_to_scala-SDK...tar.gz
You'll then need to add
/opt/eclipse
to your PATH and/or/opt/eclipse/eclipse
to your graphical desktop. For the latter, there's a reasonable icon at/opt/eclipse/icon.xpm
.