How to install sbt for scala on Fedora Linux
Posted on In QAHow to install sbt for scala on Fedora Linux? It is not included in the default Fedora repository although scala is included.
The download page of scala-sbt.org provides the RPM package.
You can install the sbt rpm package by yum
. We only need the URL to the RPM package. Here, let take version 0.13.1
as a example.
# yum localinstall
http://repo.scala-sbt.org/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.13.1/sbt.rpm
yum
will download the package and install it.
After installation, you can run
$ sbt
and sbt
will download and configure itself.
If you need a good tutorial and introduction on sbt, here is a excellent one: http://www.youtube.com/watch?v=V2rl62CZPVc
Or use the excellent sbt-extras: https://www.systutorials.com/qa/858/how-to-install-multiple-versions-of-sbt-on-my-linux-host to automatically manage sbt versions used/needed.
now
sudo yum localinstall https://bintray.com/artifact/download/sbt/rpm/sbt-1.2.1.rpm