Skip to content

Instantly share code, notes, and snippets.

@bigsnarfdude
Last active March 8, 2021 09:40
Show Gist options
  • Star 51 You must be signed in to star a gist
  • Fork 24 You must be signed in to fork a gist
  • Save bigsnarfdude/b2eb1cabfdaf7e62a8fc to your computer and use it in GitHub Desktop.
Save bigsnarfdude/b2eb1cabfdaf7e62a8fc to your computer and use it in GitHub Desktop.
ubuntu 14.04 install scala 2.11.7 and sbt 13.9 and java 8 and git
# scala install
wget www.scala-lang.org/files/archive/scala-2.11.7.deb
sudo dpkg -i scala-2.11.7.deb
# sbt installation
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823
sudo apt-get update
sudo apt-get install sbt
# java install
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
# git install
sudo apt-get install git
@petervandenabeele
Copy link

This procedure worked for me:

http://www.scala-sbt.org/0.13/tutorial/Manual-Installation.html

Also the procedure with the ppa worked well:

http://www.scala-sbt.org/0.13/tutorial/Installing-sbt-on-Linux.html

@davidonlaptop
Copy link

Thanks Peter!

@k0ala
Copy link

k0ala commented Apr 27, 2015

Thanks for the link.

@etspaceman
Copy link

Thanks for this. I've used this snippet in my own environments.

@raidery
Copy link

raidery commented Apr 15, 2016

good

@ttekun
Copy link

ttekun commented Jun 29, 2016

👍 thanks!

@colin4124
Copy link

Here is error, how to fix it?

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
java.lang.NoClassDefFoundError: sbt/serialization/package$

@obar1
Copy link

obar1 commented Jul 3, 2018

install java first

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