warp4j/INSTALL.md

32 lines
888 B
Markdown
Raw Permalink Normal View History

2019-02-16 20:12:03 +01:00
# Install
Here are several more ways to install `warp4j`.
## Install script
Run the [install.sh](./install.sh) script from source or use the following command:
```sh
curl -s https://github.com/kirbylink/warp4j/raw/branch/master/install.sh | /bin/sh -s
```
2019-02-16 20:12:03 +01:00
## Manual
First install [warp-packer](https://github.com/kirbylink/warp/releases) and ensure other common tools available: `awk`, `curl`, `file`, `grep`, `sed`, `sort`, `tar`, `unzip`, optional: `zip`. Then install `warp4j` like this:
2019-02-16 20:12:03 +01:00
```
$ LOCATION=/usr/local/bin \
LINK=https://github.com/kirbylink/warp4j/raw/branch/master/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
See [Dockerfile](./Dockerfile)