Skip to content

Instantly share code, notes, and snippets.

@mbulat
Forked from visenger/install_scala_sbt.sh
Last active August 29, 2015 14:05
Show Gist options
  • Save mbulat/f542f307897bf827c2bc to your computer and use it in GitHub Desktop.
Save mbulat/f542f307897bf827c2bc 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
sudo apt-get --yes install openjdk-6-jdk
wget http://www.scala-lang.org/files/archive/scala-2.11.2.deb
sudo dpkg -i scala-2.11.2.deb
sudo apt-get update
sudo apt-get install scala
# sbt installation
# remove sbt:> sudo apt-get purge sbt.
wget http://dl.bintray.com/sbt/debian/sbt-0.13.5.deb
sudo dpkg -i sbt-0.13.5.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