Skip to content

Commit

Permalink
Add required pkgs for sbt install
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosrogue authored Oct 6, 2021
1 parent 7f1df99 commit 4f77ab5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/reference/00-Getting-Started/01-Setup/c.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ Download [ZIP][ZIP] or [TGZ][TGZ] package and expand it.
Ubuntu and other Debian-based distributions use the DEB format, but usually you don't install your software from a local DEB file. Instead they come with package managers both for the command line (e.g. `apt-get`, `aptitude`) or with a graphical user interface (e.g. Synaptic).
Run the following from the terminal to install `sbt` (You'll need superuser privileges to do so, hence the `sudo`).

sudo apt-get update
sudo apt-get install apt-transport-https curl gnupg -yqq
echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list
echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo -H gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/scalasbt-release.gpg --import
Expand Down

0 comments on commit 4f77ab5

Please sign in to comment.