Skip to content

Instantly share code, notes, and snippets.

@jameBoy
Created January 31, 2016 15:47
Show Gist options
  • Select an option

  • Save jameBoy/2e3fb529049e2b502752 to your computer and use it in GitHub Desktop.

Select an option

Save jameBoy/2e3fb529049e2b502752 to your computer and use it in GitHub Desktop.
install scala on centos
# 从这里下载scala
http://www.scala-lang.org/download/2.10.4.html
#解压到安装目录,这里我选择安装在/opt下
sudo tar -zxvf scala-2.10.4.tgz
#配置环境变量
sudo vim /etc/profile
#setting scala
export SCALA_HOME=/opt/scala-2.10.4
export PATH=${SCALA_HOME}/bin:$PATH
source /etc/profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment