Linux-Scala安装教程
软件提取链接:https://pan.baidu.com/s/1oxBcv6xRavVtxmBPzEWHuQ 提取码:1000
1.解压安装Scala
软件安装包统一放在 /opt/software下
[root@ hadoop software]# tar -zxvf scala-2.11.12.tgz -C /usr/local
2.配置环境变量
[root@ hadoop software]# vim /etc/profile
export SCALA_HOME=/usr/local/scala-2.11.12
export PATH=$SCALA_HOME/bin:$PATH
[root@ hadoop software]# source /etc/profile
3.验证安装
[root@ hadoop software]# scala -version