1, download, upload and unzip scala-2.11.6.tgz
2, configure the environment variables vim / etc / profile
Add the following code:
export SCALA_HOME=/usr/scala/scala-2.11.6
export PATH=$PATH:$SCALA_HOME/bin
Execute the following command:
source /etc/profile
3. Verify scala