Following are steps to install and configure SCALA on Ubuntu:

  1. Download SCALA:
    wget https://downloads.lightbend.com/scala/2.12.2/scala-2.12.2.tgz
  2. Extract downloaded file:
    tar -xvzf scala-2.12.2.tgz
  3. Open Terminal and edit ~/.bashrc, insert following:
    export SCALA_HOME=/home/schauhan/mywork/Tools/scala-2.12.2
    export PATH=$SCALA_HOME/bin:$PATH
  4. Restart Terminal and enter:
    > scala
  5. Successfully connected to scala
  6. Happy Coding!

Leave a Comment