How to install sbt on ubuntu/debian with apt-get
After more searching the answer was found here: http://www.scala-sbt.org/0.13/docs/Installing-sbt-on-Linux.html
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
This one does work
sbt
Getting org.scala-sbt sbt 0.13.9 ...
And then.. be patient ..
Alternatively, you can also install it via:
export SBT_VERSION=1.5.5
curl -L -o sbt-$SBT_VERSION.zip https://github.com/sbt/sbt/releases/download/v$SBT_VERSION/sbt-$SBT_VERSION.zip
unzip sbt-$SBT_VERSION.zip -d ops
Please replace 1.5.5
above with the actual version of sbt
you want.
Reference:
- https://medium.com/@yzhong.cs/getting-started-with-docker-scala-sbt-d91f8ac22f5f