Skip to content

Instantly share code, notes, and snippets.

Last active January 31, 2023 19:10
Show Gist options
  • Save visenger/5496675 to your computer and use it in GitHub Desktop.
Save visenger/5496675 to your computer and use it in GitHub Desktop.
Scala and sbt installation on ubuntu 12.04
# one way (older scala version will be installed)
# sudo apt-get install scala
#2nd way
sudo apt-get remove scala-library scala
sudo dpkg -i scala-2.11.4.deb
sudo apt-get update
sudo apt-get install scala
# sbt installation
# remove sbt:> sudo apt-get purge sbt.
sudo dpkg -i sbt-0.13.6.deb
sudo apt-get update
sudo apt-get install sbt
Copy link

mujain commented Jul 3, 2014

I do not get it.. above script indeed uses the same .deb package you mentioned. So what is the difference ? Thx

Copy link

javadba commented Jul 13, 2014

Please update the sbt:

sudo dpkg -i sbt-0.13.5.deb

Copy link

Copy link

visenger commented Aug 8, 2014

Thanks @javadba and @chenrui333

Copy link

Thank you !!!...
This is much easier than change system variable manually :)

Copy link

poliu2s commented Sep 11, 2014

Thanks! After installing this way though, I get duplicate sources.list entries... is anyone else getting that when doing an sudo apt-get update?

Copy link

maizy commented Oct 2, 2014

Thanks for idea.

I've made some changes to this script for using java7 dependency instead of java6:
It may be useful for someone.

Copy link

bjing commented Dec 27, 2014

Hey, you've already installed scala and sbt using the deb packages, why do you follow that with "apt-get install" of these packages?

Copy link

dunnock commented Mar 27, 2015

scala: scala-2.11.6.deb
sbt: sbt-0.13.8.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment