Last active
December 18, 2015 00:58
-
-
Save rkaneko/5700008 to your computer and use it in GitHub Desktop.
Install Scala for Ubuntu .
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd ~/Downloads/ | |
# get scala-v.x.zip | |
$ wget http://www.scala-lang.org/downloads/distrib/files/scala-2.10.2.tgz | |
$ tar zxvf scala-2.10.2.tgz | |
$ sudo mkdir /usr/local/scala | |
$ sudo mv ./scala-2.10.1 /usr/local/scala/2.10.1 | |
$ sudo chmod -R 755 /usr/local/scala/ | |
# edit .bashrc | |
$ cd ~ | |
$ sudo .bashrc | |
##### | |
export SCALA_HOME=/usr/local/scala/2.10.1 | |
export PATH=$PATH:$SCALA_HOME/bin | |
$ source .bashrc | |
$ scala -version | |
Scala code runner version 2.10.1 -- Copyright 2002-2013, LAMP/EPFL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment