Building Scala from the source code is an rather simple process. The Ant  tool is used to control the build process of the entire Scala distribution: you can use any platform that supports Java  to build Scala and to contribute to the development of the Scala platform. You need to have a full install of Ant on your machine; if you use Ubuntu, you may need to install the package "ant-optional".
A machine with at least 1 GB of physical memory is strongly recommended. To build Scala, just type in the following command
You can run the Scala test suite by issuing the following command:
$ ant test
If all tests complete successfully, you're in business: you can start using your newly build Scala system, and you can also start participating in the development  of the Scala language.