系统相关
首页 > 系统相关> > scala安装 centos7

scala安装 centos7

作者:互联网

1.创建目录

mkdir -p /usr/local/scala
cd /usr/local/scala

2.下载scala jdk

https://www.scala-lang.org/download/
wget https://downloads.lightbend.com/scala/2.13.3/scala-2.13.3.tgz
tar -zvxf scala-2.13.3.tgz    # 解压

3.配置环境变量

vim /etc/profile
export SCALA_HOME=/usr/local/scala/scala-2.13.3
export PATH=$SCALA_HOME/bin:$PATH

source /etc/profile

4.查看是否安装成功

scala

  

标签:安装,scala,tgz,local,SCALA,centos7,usr,2.13
来源: https://www.cnblogs.com/yoyo1216/p/13365935.html