Created
April 10, 2015 17:46
-
-
Save kpacha/24b536012cd10c329f8e to your computer and use it in GitHub Desktop.
Provision an up-to-date scala & sbt dev environment
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 | |
# don't forget to run it as root!!! | |
apt-get update | |
apt-get -y install unzip | |
apt-get -f -y install default-jdk openjdk-7-jdk | |
mkdir -p /opt | |
cd /opt | |
wget -q http://downloads.typesafe.com/scala/2.11.6/scala-2.11.6.deb | |
dpkg -i scala-2.11.6.deb | |
scalac -version | |
wget -q https://dl.bintray.com/sbt/native-packages/sbt/0.13.8/sbt-0.13.8.zip | |
unzip sbt-0.13.8.zip | |
ln -s /opt/sbt/bin/sbt /usr/local/bin/sbt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment