Linux Installation
Install ingress2gateway on Linux
-
Set your environment variables.
VERSION=v0.3.0 OS=Linux # One of arm64|x86_64|i386 ARCH=arm64Refer to the releases page for a list of published ingress2gateway versions.
-
Download the release:
curl -LO "https://github.com/kgateway-dev/ingress2gateway/releases/download/${VERSION}/ingress2gateway_${OS}_${ARCH}.tar.gz" -
Validate the release tarball (optional)
Download the ingress2gateway checksum file:
curl -LO https://github.com/kgateway-dev/ingress2gateway/releases/download/${VERSION}/checksums.txtValidate the binary against the checksum file:
echo "$(cat checksums.txt) ingress2gateway" | shasum -a 256 --checkIf valid, the output is:
ingress2gateway_$OS_$ARCH.tar.gz: OK -
Extract the tarball:
tar -xvf ingress2gateway_${OS}_${ARCH}.tar.gz -
Install ingress2gateway:
sudo install -o root -g root -m 0755 ingress2gateway /usr/local/bin/ingress2gatewayNote: If you do not have root access on the target system, you can still install ingress2gateway to the ~/.local/bin directory:
chmod +x ingress2gateway mkdir -p ~/.local/bin mv ./ingress2gateway ~/.local/bin/ingress2gateway # and then append (or prepend) ~/.local/bin to $PATH -
Test the installation by checking the version of the binary:
ingress2gateway versionNote: Make sure /usr/local/bin is in your PATH environment variable.