Wednesday, June 29, 2011

[Level 1] How to install Scala on Ubuntu.

You have two way to install it.
1. Use apt-get:
# sudo apt-get -y install scala
2. Download source: (browse http://www.scala-lang.org/downloads first)
# cd /opt
# wget http://www.scala-lang.org/downloads/distrib/files/scala-2.9.0.1.tgz
# tar -C /opt zxf ./scala-2.9.0.1.tgz
# export PATH=$PATH:/opt/scala-2.9.0.1/bin
# scala -version
Wish this helps.
regards,
Stanley Huang