Created
July 21, 2014 19:12
-
-
Save osipov/c2a34884a647c29765ed to your computer and use it in GitHub Desktop.
Install Scala and SBT using apt-get on Ubuntu 14.04 or any Debian derivative using apt-get
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
sudo apt-get remove scala-library scala | |
sudo wget www.scala-lang.org/files/archive/scala-2.10.4.deb | |
sudo dpkg -i scala-2.10.4.deb | |
sudo apt-get update | |
sudo apt-get install scala | |
wget http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.12.4/sbt.deb | |
sudo dpkg -i sbt.deb | |
sudo apt-get update | |
sudo apt-get install sbt |
thank you 👍
Thanks
- need to update to: sudo wget www.scala-lang.org/files/archive/scala-2.13.0-M1.deb for the latest scala version
Awesome 👍
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See my Gist updateScalaVersion.sh for a script that will update your Scala to some version. It is to be used like this:
sudo ./updateScalaVersion 2.11.8