Created
January 31, 2016 15:47
-
-
Save jameBoy/2e3fb529049e2b502752 to your computer and use it in GitHub Desktop.
install scala on centos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 从这里下载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