warp4j/INSTALL.md
David b6b0f56980 - Install script improved to run with /bin/sh
- Dockerfile changed to use install.sh script (Works on x64 and aarch64
architecture)
- Dockerfile_x64 with old build script for tests
- Script warp4j improved to support to run on aarch64 architecture

Cleaning up repository
Updating compatibility in README.md
2024-05-20 21:39:31 +02:00

32 lines
888 B
Markdown

# 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
```
## 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:
```
$ LOCATION=/usr/local/bin \
LINK=https://github.com/kirbylink/warp4j/raw/branch/master/warp4j \
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)