-
-
Save erikvanoosten/11382154 to your computer and use it in GitHub Desktop.
This file contains 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/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 | |
#3rd way | |
# installs a lot less dependencies | |
sudo apt-get install openjdk-7-headless | |
curl -O http://downloads.typesafe.com/scala/2.11.0/scala-2.11.0.deb | |
sudo dpkg --ignore-depends=openjdk-6-jre -i scala-2.11.0.deb | |
# 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