wget http://downloads.typesafe.com/scala/2.11.6/scala-2.11.6.tgz?_ga=1.61986863.2013247204.1448019024
tar xvzf scala-2.11.6.tgz\?_ga\=1.61986863.2013247204.1448019024
vi /etc/profile
#在profile文件最后加入:
export SCALA_HOME=/home/jack_du/scala-2.11.6 <scala的绝对路径>
export PATH=$PATH:$SCALA_HOME/bin
# 保存
#
source /etc/profile
#测试是否安装成功
scala