我是第一次尝试在ubuntu上安装SBT,已经在下面提到安装链接,但是收到错误,请帮我解决。
我需要sbt用于Spark和scala项目。
sudo apt-get update
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/wily-backports/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.26 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
答案 0 :(得分:0)
您可以手动下载并安装sbt
软件包,如下所示:
curl -OL https://github.com/sbt/sbt/releases/download/v1.0.3/sbt-1.0.3.tgz
tar xzf sbt-1.0.3.tgz
sudo mv sbt /usr/local/
sudo update-alternatives --install /usr/bin/sbt sbt /usr/local/sbt/sbt-1.0.3/bin/sbt 100