Install Scala in CentOS 6
Installation of Scala
Steps :wget http://downloads.typesafe.com/scala/2.11.1/scala-2.11.1.tgz
tar xvf scala-2.11.1.tgz
sudo mvscala-2.11.1/usr/lib
sudo ln-f-s/usr/lib/scala-2.11.1/usr/lib/scala
Configuration of Scala in CentOS
Add to PATH,- edit /etc/profile.d/scala.sh
- export PATH=$PATH:/usr/lib/scala/bin source /etc/profile.d/scala.sh
- $ scala -version
- Scala code runner version 2.11.1 -- Copyright 2002-2013, LAMP/EPFL
Note :
for future ref:
substitute the latest release by visiting http://www.scala-lang.org/download/all.html, click on the latest release and scroll down to “Other resources”. There you’ll find the Max OS X, Unix, Cygwin version .tgz file. Right click and copy the url to your clipboard and use it in your wget [right-click-paste].
Comments
Post a Comment