mirror of https://github.com/sbt/sbt.git
Add anchors to setup page for easier external linking
parent
dca7338e5c
commit
e64667f783
|
|
@ -21,7 +21,7 @@ You need two files; [sbt-launch.jar] and a script to run it.
|
|||
|
||||
*Note: Relevant information is moving to the [download page](http://www.scala-sbt.org/download.html)*
|
||||
|
||||
## Yum
|
||||
## <a id="yum"></a>Yum
|
||||
|
||||
The sbt package is available from the [Typesafe Yum Repository](http://rpm.typesafe.com). Please install [this rpm](http://rpm.typesafe.com/typesafe-repo-2.0.0-1.noarch.rpm) to add the typesafe yum repository to your list of approved sources. Then run:
|
||||
```text
|
||||
|
|
@ -31,7 +31,7 @@ to grab the latest release of sbt.
|
|||
|
||||
*Note: please make sure to report any issues you may find [here](https://github.com/sbt/sbt-launcher-package/issues).
|
||||
|
||||
## Apt
|
||||
## <a id="apt"></a>Apt
|
||||
|
||||
The sbt package is available from the [Typesafe Debian Repository](http://apt.typesafe.com). Please install [this deb](http://apt.typesafe.com/repo-deb-build-0002.deb) to add the typesafe debian repository to your list of approved sources. Then run:
|
||||
```text
|
||||
|
|
@ -46,7 +46,7 @@ apt-get update
|
|||
|
||||
*Note: please make sure to report any issues you may find [here](https://github.com/sbt/sbt-launcher-package/issues).
|
||||
|
||||
## Gentoo
|
||||
## <a id="gentoo"></a>Gentoo
|
||||
|
||||
In official tree there is no ebuild for sbt. But there are ebuilds to merge sbt from binaries: https://github.com/whiter4bbit/overlays/tree/master/dev-java/sbt-bin. To merge sbt from this ebuilds you can do next:
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ echo "PORTDIR_OVERLAY=$PORTDIR_OVERLAY /usr/local/portage/overlays" >> /etc/make
|
|||
emerge sbt-bin
|
||||
```
|
||||
|
||||
## Mac
|
||||
## <a id="mac"></a>Mac
|
||||
|
||||
Use either [MacPorts](http://macports.org/):
|
||||
```text
|
||||
|
|
@ -71,7 +71,7 @@ $ brew install sbt
|
|||
|
||||
There is no need to download the sbt-launch.jar separately with either approach.
|
||||
|
||||
## Windows
|
||||
## <a id="windows"></a>Windows
|
||||
|
||||
You can download the [msi](http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.12.0/sbt.msi)
|
||||
|
||||
|
|
@ -86,7 +86,7 @@ java -Xmx512M -jar "%SCRIPT_DIR%sbt-launch.jar" %*
|
|||
|
||||
and put [sbt-launch.jar] in the same directory as the batch file. Put `sbt.bat` on your path so that you can launch `sbt` in any directory by typing `sbt` at the command prompt.
|
||||
|
||||
## Unix
|
||||
## <a id="unix"></a>Unix
|
||||
|
||||
Download [sbt-launch.jar] and place it in `~/bin`.
|
||||
|
||||
|
|
@ -102,7 +102,7 @@ Make the script executable:
|
|||
$ chmod u+x ~/bin/sbt
|
||||
```
|
||||
|
||||
## Tips and Notes
|
||||
## <a id="tips_notes"></a>Tips and Notes
|
||||
|
||||
If you have any trouble running `sbt`, see [[Setup Notes]] on terminal encodings, HTTP proxies, and JVM options.
|
||||
|
||||
|
|
@ -110,4 +110,4 @@ To install sbt, you could also use this fairly elaborated shell script: https://
|
|||
|
||||
## Next
|
||||
|
||||
Move on to [[create a simple project|Getting Started Hello]].
|
||||
Move on to [[create a simple project|Getting Started Hello]].
|
||||
|
|
|
|||
Loading…
Reference in New Issue