Skip to content

Instantly share code, notes, and snippets.

@DrPaulBrewer
Last active October 25, 2017 07:08
Show Gist options
  • Save DrPaulBrewer/697eadbd7184cd6cea32e02628765f14 to your computer and use it in GitHub Desktop.
Save DrPaulBrewer/697eadbd7184cd6cea32e02628765f14 to your computer and use it in GitHub Desktop.
Set up openjdk 8 and scala build tool sbt on bare ubuntu/debian machine
#!/bin/bash -e
apt-get --yes update
apt-get --yes install openjdk-8-jdk emacs-nox curl wget apt-transport-https
# modified from "Installing sbt on Linux" at http://www.scala-sbt.org/1.x/docs/Installing-sbt-on-Linux.html
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
apt-get --yes update
apt-get --yes --allow-unauthenticated install sbt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment