How to install Scala on CentOS from command line?

  Oct 18, 2016

Can someone tell me how to install, scala on CentOS linux from command line?

Solved 0
centos scala linux 8 months ago 1 Answer 0 views

Answers ( 1 )

  1. 8 months ago

    Scala can be installed in CentOS with following commands:

    wget http://www.scala-lang.org/files/archive/scala-2.10.1.tgz
    tar xvf scala-2.10.1.tgz
    sudo mv scala-2.10.1 /usr/lib
    sudo ln -s /usr/lib/scala-2.10.1 /usr/lib/scala
    export PATH=$PATH:/usr/lib/scala/bin
    scala -version
    

    You are free to change the url with new version if needed. Cheers !

Your Answer