Linux手动安装sbt步骤
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
一、下载sbt安装包
从sbt官网下载地址:http://www.scala-sbt.org/download.html下载安装包,以sbt-1.2.8.tgz为例。
二、安装
1、将下载的二进制包移动到/usr/local目录,解压缩文件包
tar zxvf sbt-1.2.8.tgz
mv sbt-launcher-packaging-0.13.13 sbt //重命名目录
2、配置PATH环境变量
可以选择配置~/.bashrc 或 /etc/profile,此处以配置 /etc/profile 为例
vi /etc/profile
在文件尾部添加如下代码后,保存退出
#sbt
export SBT_HOME=/usr/local/sbt
export PATH=$PATH:$SBT_HOME/bin
使配置文件立刻生效
source /etc/profile
三、测试sbt是否安装成功
第一次执行时,会下载一些文件包,然后才能正常使用,要确保联网了
sbt sbtVersion




A beautiful web dashboard for Linux
最近提交(Master分支:29 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)