Friday, March 18, 2011

Tech Tips - Install Scala on Ubuntu 9.x

Here are simple steps to install Scala on Ubuntu

1.Get the latest Scala from here

2.Go to .bashrc(/home/username/.bashrc) file and add this line
export SCALA_HOME='/home/username/scala-2.8.1';

3.Make sure you exported scala bin path at the end with PATH
export SCALA_HOME='/home/username/scala-2.8.1';
export PATH=${PATH}:$SCALA_HOME/bin;

4.Open a new terminal instance try this command
:~$ scala
Welcome to Scala version (OpenJDK Server VM, Java 1.6.0_18).
Type in expressions to have them evaluated.
Type :help for more information.


No comments:

Post a Comment