Last active
November 10, 2015 19:43
-
-
Save gto76/f43cae8a88faf57dcfda to your computer and use it in GitHub Desktop.
Script that installs Scala
This file contains hidden or 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
#!/bin/bash | |
# | |
# Installs Scala. | |
# Install Scala: | |
SCALA_VERSION="2.11.1"; | |
wget http://downloads.typesafe.com/scala/$SCALA_VERSION/scala-$SCALA_VERSION.tgz | |
tar xvzf scala-$SCALA_VERSION.tgz | |
sudo sh -c 'echo "export SCALA_HOME=\"$PWD/scala-'$SCALA_VERSION'\"" >> /etc/profile; echo "export PATH=\"\$PATH:\$SCALA_HOME/bin\"" >> /etc/profile;' | |
sh /etc/profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment