Thursday, May 15, 2014

setup scala version manager on CentOS


[root@new-host yiyujia]#  yum install coreutils 


[root@new-host yiyujia]# wget https://raw.githubusercontent.com/yuroyoro/svm/master/svm

[root@new-host yiyujia]# vi /usr/local/bin/svm
[root@new-host yiyujia]# chmod +x /usr/local/bin/svm 
[root@new-host yiyujia]# chmod 755 /usr/local/bin/svm 
[root@new-host yiyujia]# vi ~/.bash_profile

export SCALA_HOME=~/.svm/current/rt
export PATH=$SCALA_HOME/bin:$PATH

source ~/.bash_profile
01:26 yiyujia@new-host:~ $ svm install 2.11.2


http://scala.masanorihashimoto.com/2014/04/how-to-install-the-scala-version-manager-on-your-mac/

No comments:

Post a Comment