Scala Language Setting up Scala Ubuntu Installation via Manual Download and Configuration


Download your preferred version from Lightbend with curl:

curl -O

Unzip the tar file to /usr/local/share or /opt/bin:

unzip scala-2.xx.x.tgz 
mv scala-2.xx.x /usr/local/share/scala

Add the PATH to ~/.profile or ~/.bash_profile or ~/.bashrc by including this text to one of those files:


To verify that it is installed correctly, in the terminal command prompt:

which scala

The response returned should be the equivalent to what you placed in your PATH variable. To verify that scala is working:


This should start the Scala REPL, and report the version (which, in turn, should match the version you downloaded).