The sbt installation directions indicate sbt
were in the repository. However:
$ sudo apt-get install -y sbt
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sbt
Let us look around a bit ..
$ s apt-cache search sbt
coop-computing-tools - cooperative computing tools
libnet-z3950-simpleserver-perl - simple perl API for building Z39.50 servers
libusbtc08-1 - Hardware interface library for PicoTech USB TC08 Thermocouple sensor
libusbtc08-dev - Development files for PicoTech USB TC08
python-usbtc08 - Python wrapper for libusbtc08
s51dude - In-System Programmer for 8051 MCUs using usbtiny
Ummm .. no ....
So then is apt-get working with sbt on ubuntu? Is there a special apt repository
for it?
What is sbt? sbt is an open-source, cross-platform build tool for Scala and Java projects. Some of its main features are: Support for continuous compilation, testing and deployment. Native support for compiling Scala code.
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 ..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With