Installing Scala on CentOS

Scala files are now here http://www.scala-lang.org/files/archive/


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

 

Author: Ajay Ohri

http://about.me/ajayohri

5 thoughts on “Installing Scala on CentOS”

  1. I’m confused as to why you guide suggests installing scala into the /usr/lib folder (libraries folder). Why wouldn’t you put it in /opt or /usr/local?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s