#Check if scala is already installed
scala -version

# If scala is not installed run below commands to do so. 
1. You can download the latest version of Scala from the Scala website http://www.scala-lang.org/download/.

2. Extract the Scala tar file by extracting on its location or more type the following command for extracting the Scala tar file from the terminal using below command

tar -xvzf scala-2.11.8.tgz 

3. Now move Scala distribution to users perspective (e.g. /usr/local/scala) by the following command or do it manually: 

cd /home/Downloads/ 
mv scala-2.11.8 /usr/local/scala 

4. Now set the Scala home
echo "export SCALA_HOME=/usr/local/scala/scala-2.11.8" >> ~/.bashrc  
echo "export PATH=$PATH:$SCALA_HOME/bin" >> ~/.bashrc




