warp4j/INSTALL.md

32 lines
909 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://git.phoenix.ipv64.de/public/warp4j/raw/branch/master/install.sh | /bin/sh -s
```
2019-02-16 20:12:03 +01:00
## Manual
2024-05-11 09:09:28 +02:00
First install [warp-packer](https://git.phoenix.ipv64.de/public/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 \
2024-05-11 09:09:28 +02:00
LINK=https://git.phoenix.ipv64.de/public/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)