0

When I am trying to install sbt in Ubuntu as it is suggested here:

wget http://apt.typesafe.com/repo-deb-build-0002.deb
sudo dpkg -i repo-deb-build-0002.deb
sudo apt-get update
sudo apt-get install sbt

The last command sudo apt-get install sbt asks if I want to install GJI -- GNU java interpreter.

The following extra packages will be installed:
  gcj-4.5-jre gcj-4.5-jre-headless
Suggested packages:
  fastjar gcj-4.5-jdk
The following NEW packages will be installed:
  gcj-4.5-jre gcj-4.5-jre-headless sbt

I do not want to install it. How can I install an sbt package in Ubuntu without GCJ ?

Community
  • 1
  • 1
Michael
  • 41,026
  • 70
  • 193
  • 341

1 Answers1

1

You can go on the sbt website, download it,extract it somewhere in your home directory and add it in the path.

I have it on ~/apps/sbt/ and i added the following in the end of ~/.bashrc

export PATH=$HOME/apps/sbt/bin:$PATH

I found it the simplest way to achive this because the apt typesafe respository is outdated.

Iraklis
  • 810
  • 5
  • 14