# Download the source file from website.
tar -xvf scala-2.9.2.tar
cd scala-2.9.2
pwd
# copy the syspath
vim ~/.bash_profile && edite it:
export SCALA_HOME="/work/build/scala-2.9.2"
export PATH=$PATH:$SCALA_HOME/bin
:x
source ~/.bash_profile
scala -version