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
2 years ago 1 Answer 0 views

Answers ( 1 )

  1. 2 years ago

    Scala can be installed in CentOS with following commands:

    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