Skip to content

Instantly share code, notes, and snippets.

@xuyang2
Forked from visenger/install_scala_sbt.sh
Created April 4, 2014 16:36
Show Gist options
  • Save xuyang2/9978368 to your computer and use it in GitHub Desktop.
Save xuyang2/9978368 to your computer and use it in GitHub Desktop.
#!/bin/sh
# one way (older scala version will be installed)
# sudo apt-get install scala
#2nd way
sudo apt-get remove scala-library scala
wget www.scala-lang.org/files/archive/scala-2.10.3.deb
sudo dpkg -i scala-2.10.3.deb
sudo apt-get update
sudo apt-get install scala
# sbt installation
# remove sbt:> sudo apt-get purge sbt.
wget http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt//0.12.3/sbt.deb
sudo dpkg -i sbt.deb
sudo apt-get update
sudo apt-get install sbt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment