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 |
This comment has been minimized.
This comment has been minimized.
Works! I changed to sudo wget www.scala-lang.org/files/archive/scala-2.11.5.deb ... and before sudo dpkg -i sbt.deb I had to install curl by sudo apt-get install curl |
This comment has been minimized.
This comment has been minimized.
Nice, but I don't quite understand why would you need the following lines: sudo apt-get update
sudo apt-get install scala
sudo apt-get update
sudo apt-get install sbt |
This comment has been minimized.
This comment has been minimized.
Works great! just use the updated packages and you dont need sudo apt-get install as was mentioned already. |
This comment has been minimized.
This comment has been minimized.
Thanks. This is useful. |
This comment has been minimized.
This comment has been minimized.
Much appreciated! |
This comment has been minimized.
This comment has been minimized.
Very useful! |
This comment has been minimized.
This comment has been minimized.
As of this writing, the lastest version seems to be here: https://bintray.com/artifact/download/sbt/debian/sbt-0.13.9.deb |
This comment has been minimized.
This comment has been minimized.
It Works!Thanks a lot! |
This comment has been minimized.
This comment has been minimized.
Thank you, worked :) |
This comment has been minimized.
This comment has been minimized.
It works. Thanks! |
This comment has been minimized.
This comment has been minimized.
works great; thanks |
This comment has been minimized.
This comment has been minimized.
works great; thanks |
This comment has been minimized.
This comment has been minimized.
for the latest 2.11.8 https://gist.github.com/suyesh/0de0909c15fd0f4f3d0db80d5b76ee3b |
This comment has been minimized.
This comment has been minimized.
Currently I was not able to download sbt debian package from artifactoryonline. I found that debian package is supported with package manager see: http://www.scala-sbt.org/0.13/docs/Installing-sbt-on-Linux.html. And it works. I've installed sbt 0.13.11. |
This comment has been minimized.
This comment has been minimized.
Thank you Worked.. |
This comment has been minimized.
This comment has been minimized.
sudo apt-get install libjansi-java before install scala |
This comment has been minimized.
This comment has been minimized.
This worked thanks!!! |
This comment has been minimized.
This comment has been minimized.
Thank you very much!! This worked |
This comment has been minimized.
This comment has been minimized.
@mbonaci That is for installing a fresh scala and sbt. But doesn't help if you want a new version. I tried those commands and still have the same old version. It'd be nice if there was a better Ubuntu/Debian utility for upgrading Scala/Sbt to the latest versions. As far as I've seen, there isn't any. This link seems to be the best way of upgrading SBT - but not Scala. So, to update to some Scala version, just change the # Mini Script for Updating Scala to some Scala version
# Does not update SBT. Just Scala.
# This is for Debian/Mint/Ubuntu distributions
scalaVer="2.11.8"
sudo apt-get remove scala-library scala
sudo wget www.scala-lang.org/files/archive/scala-"$scalaVer".deb
sudo dpkg -i scala-"$scalaVer".deb
sudo apt-get update
sudo apt-get install scala Then, if you want to update |
This comment has been minimized.
This comment has been minimized.
See my Gist updateScalaVersion.sh for a script that will update your Scala to some version. It is to be used like this:
|
This comment has been minimized.
This comment has been minimized.
thank you |
This comment has been minimized.
This comment has been minimized.
Thanks |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
Awesome |
This comment has been minimized.
This works great, thanks for the post!
To install with the latest versions of scala/sbt I changed the following lines:
...
2: sudo wget www.scala-lang.org/files/archive/scala-2.11.4.deb
...
6: sudo wget https://bintray.com/artifact/download/sbt/debian/sbt-0.13.6.deb
7: sudo dpkg -i sbt-0.13.6.deb
...