Tutorial by Examples

On Debian-based distributions, including Ubuntu, the most straightforward way is to use the .deb installation file. Go to the Scala website. Choose the version you want to install then scroll down and look for scala-x.x.x.deb. You can install the scala deb from command line: sudo dpkg -i scala-x.x...
Download your preferred version from Lightbend with curl: curl -O http://downloads.lightbend.com/scala/2.xx.x/scala-2.xx.x.tgz 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 ...
On Mac OSX computers with MacPorts installed, open a terminal window and type: port list | grep scala This will list all the Scala-related packages available. To install one (in this example the 2.11 version of Scala): sudo port install scala2.11 (The 2.11 may change if you want to install a...

Page 1 of 1