系统版本
[root@zk-node2 hadoop]# cat /etc/redhat-release 
CentOS Linux release 7.6.1810 (Core)
下载scala
wget https://downloads.lightbend.com/scala/2.11.8/scala-2.11.8.tgz
解压&配置环境变量
mkdir /usr/local/scala
tar xf scala-2.11.8.tgz -C /usr/local/scala
echo "PATH=$PATH:/usr/local/scala/bin" >>/etc/profile
source /etc/profile
查看版本
scala -version

CentOS7安装scala_scala