Install Scala in CentOS 6

Installation of Scala

Steps :

  1. wget http://downloads.typesafe.com/scala/2.11.1/scala-2.11.1.tgz

  2. tar xvf scala-2.11.1.tgz

  3. sudo mvscala-2.11.1/usr/lib

  4. sudo ln-f-s/usr/lib/scala-2.11.1/usr/lib/scala


Configuration of Scala in CentOS

Add to PATH,
  1. edit /etc/profile.d/scala.sh 
  2. export PATH=$PATH:/usr/lib/scala/bin source /etc/profile.d/scala.sh 
  3.  
  4.  $ scala -version
  5.  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

Popular posts from this blog

Scan FC LUN's in RHEL/CentOS

Start wildfly service with standalone-full.xml

How to enable federated engine in MySQL