Skip to content

Instantly share code, notes, and snippets.

@freewind
Forked from visenger/install_scala_sbt.sh
Last active August 29, 2015 14:02
Show Gist options
  • Save freewind/86b2f4f5fc8c41195b07 to your computer and use it in GitHub Desktop.
Save freewind/86b2f4f5fc8c41195b07 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 http://www.scala-lang.org/files/archive/scala-2.11.1.deb
sudo dpkg -i scala-2.11.1.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.13.1/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