在ubuntu上安装sbt [英] Install sbt on ubuntu
问题描述
我在Ubuntu上安装了sbt。
I have installed sbt on Ubuntu.
:~/bin/sbt/bin$ ls
classes sbt sbt-launch.jar target
jansi.jar sbt.bat sbt-launch-lib.bash win-sbt
但是,每当我尝试启动sbt(从sbt所在的同一目录),它不起作用:
However, whenever I try to launch sbt (from the same directory where sbt is located) it does not work:
No command 'sbt' found, did you mean:
Command 'skt' from package 'latex-sanskrit' (universe)
Command 'sb2' from package 'scratchbox2' (universe)
Command 'sbd' from package 'cluster-glue' (main)
Command 'mbt' from package 'mbt' (universe)
Command 'sbmt' from package 'atfs' (universe)
Command 'lbt' from package 'lbt' (universe)
Command 'st' from package 'suckless-tools' (universe)
Command 'sb' from package 'lrzsz' (universe)
我是linux的新手,我不知道如何解决这个问题。
I am new to linux and I have no idea how to tackle this issue.
推荐答案
似乎你安装了sbt的zip版本,这很好。但是,如果您使用Ubuntu,我建议您安装本机debian软件包。那就是我如何设法安装在我的Ubuntu 12.04上。它对我很好。在这里查看:
http:// www。 scala-sbt.org/release/docs/Getting-Started/Setup.html
或者直接下载 here 。
It seems like you installed a zip version of sbt, which is fine. But I suggest you install the native debian package if you are on Ubuntu. That is how I managed to install it on my Ubuntu 12.04. It works great to me. Check it out here: http://www.scala-sbt.org/release/docs/Getting-Started/Setup.html Or Simply directly download it here.
这篇关于在ubuntu上安装sbt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!