
Note: There have been reports about SSL error using Ubuntu: Server access Error: : Unexpected error: : the trustAnchors parameter must be non-empty url=, which apparently stems from OpenJDK 9 using PKCS12 format for /etc/ssl/certs/java/cacerts cert-bug.

You should also be able to see the added repository at the bottom of the list in System Settings -> Software & Updates -> Other Software: Once sbt is installed, you’ll be able to manage the package in aptitude or Synaptic after you updated their package cache. You just have to add the repository to the places your package manager will check.

Package managers will check a number of configured repositories for packages to offer for installation. Sudo chmod 644 /etc/apt//scalasbt-release.gpg Sudo apt-get install apt-transport-https curl gnupg -yqqĮcho "deb all main" | sudo tee /etc/apt//sbt.listĮcho "deb /" | sudo tee /etc/apt//sbt_old.listĬurl -sL "" | sudo -H gpg -no-default-keyring -keyring gnupg-ring:/etc/apt//scalasbt-release.gpg -import Run the following from the terminal to install sbt (You’ll need superuser privileges to do so, hence the sudo). apt-get, aptitude) or with a graphical user interface (e.g. Instead they come with package managers both for the command line (e.g. Ubuntu and other Debian-based distributions use the DEB format, but usually you don’t install your software from a local DEB file. Ubuntu and other Debian-based distributionsĭEB package is officially supported by sbt. Redhat family calls it java-1.8.0-openjdk-devel.ĭownload ZIP or TGZ package and expand it. For example, Ubuntu xenial (16.04LTS) has openjdk-8-jdk. The details around the package names differ from one distribution to another. We recommend Eclipse Adoptium Temurin JDK 8, JDK 11, or JDK 17. (DEB and RPM packages do not to save bandwidth)

This should install the latest stable version of sbt.

Installing sbt on Linux Install sbt with cs setupįollow Install page, and install Scala using Coursier.
