warp4j/INSTALL.md

36 lines
916 B
Markdown
Raw Normal View History

2019-02-16 20:12:03 +01:00
# Install
Here are several more ways to install `warp4j`.
## Manual
First install [warp-packer](https://github.com/dgiagio/warp/releases) and ensure other common tools available: `awk`, `curl`, `file`, `grep`, `sed`, `sort`, `tar`, `unzip`, optional: `zip`. Then install `warp4j` like this:
```
$ LOCATION=/usr/local/bin \
2019-02-17 12:04:24 +01:00
LINK=https://raw.githubusercontent.com/guziks/warp4j/stable/warp4j \
2019-02-16 20:12:03 +01:00
TEMP_LOCATION=/tmp/warp4j \
bash -c 'curl -fsSL -o $TEMP_LOCATION $LINK && \
sudo install -D \
--mode=755 \
--owner=root \
--group=root \
"$TEMP_LOCATION" "$LOCATION"'
```
Previous command can be also used to upgrade to the latest version.
## Docker
2019-02-17 12:34:46 +01:00
See docker hub [page](https://hub.docker.com/r/guziks/warp4j).
2019-02-16 20:12:03 +01:00
## Moor
2019-02-17 12:34:46 +01:00
Instead of direct `docker run` command you can make a launcher with [moor](https://github.com/guziks/moor):
2019-02-16 20:12:03 +01:00
```
2019-02-17 12:34:46 +01:00
$ moor guziks/warp4j:stable warp4j
2019-02-16 20:12:03 +01:00
```
Then use as an ordinary command.