Linux

Linux (amd64 and arm64, glibc) has an artifact for all three flavors: the Runtime native binary, Runtime (JVM) as a .deb / .rpm with a bundled JRE, and the Compiler as a .deb / .rpm. The single line installer covers all three; the steps below install them by hand.

Runtime and Runtime (JVM) share the /opt/tenx-edge prefix, so only one of the two can be installed at a time.

  1. Download the DEB package file from the latest releases page.
# x86
tenx-cloud_<ver>_amd64.deb

# Arm64
tenx-cloud_<ver>_arm64.deb
# x86
tenx-edge-<ver>-amd64-native

# Arm64
tenx-edge-<ver>-aarch64-native
# x86
tenx-edge_<ver>_amd64.deb

# Arm64
tenx-edge_<ver>_arm64.deb
  1. Install the package
apt-get install /path/to/tenx-cloud.deb
mkdir -p /opt/tenx-edge/bin
mv /path/to/ARTIFACT-NATIVE /opt/tenx-edge/bin/ARTIFACT-NATIVE
chmod +x /opt/tenx-edge/bin/ARTIFACT-NATIVE
ln -s /opt/tenx-edge/bin/ARTIFACT-NATIVE /opt/tenx-edge/bin/tenx-edge
apt-get install /path/to/tenx-edge.deb
  1. Download config tar.gz from the latest releases page.

  2. Unpack with -

mkdir -p /etc/tenx/config
tar -xzf /path/to/CONFIG.TAR.GZ -C /etc/tenx/config
  1. Download the symbol library tenx-symbols-<ver>.10x.tar from the same releases page and put it where the engine looks for it. The single line installer does this step automatically; a manual install has to place the tar itself -
mkdir -p /etc/tenx/symbols
mv /path/to/tenx-symbols-<ver>.10x.tar /etc/tenx/symbols/
  1. Set up environment variables (see Paths for details) -
ln -s /opt/tenx-cloud/bin/tenx-cloud /opt/tenx-cloud/bin/tenx
echo "export TENX_HOME=/opt/tenx-cloud" | sudo tee "/etc/profile.d/tenx-cloud.sh"
echo "export TENX_BIN=\$TENX_HOME/bin/tenx-cloud" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
echo "export TENX_MODULES=\$TENX_HOME/lib/app/modules" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
echo "export TENX_CONFIG=/etc/tenx/config" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
echo "export TENX_SYMBOLS_PATH=/etc/tenx/symbols" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
echo "export PATH=\$TENX_HOME/bin:\$PATH" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
ln -s /opt/tenx-edge/bin/tenx-edge /opt/tenx-edge/bin/tenx
echo "export TENX_HOME=/opt/tenx-edge" | sudo tee "/etc/profile.d/tenx-edge.sh"
echo "export TENX_BIN=\$TENX_HOME/bin/tenx-edge" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export TENX_MODULES=\$TENX_HOME/lib/app/modules" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export TENX_CONFIG=/etc/tenx/config" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export TENX_SYMBOLS_PATH=/etc/tenx/symbols" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export PATH=\$TENX_HOME/bin:\$PATH" | sudo tee -a "/etc/profile.d/tenx-edge.sh"

The .deb lays down /opt/tenx-edge/bin/tenx-edge itself, so the same block applies -

ln -s /opt/tenx-edge/bin/tenx-edge /opt/tenx-edge/bin/tenx
echo "export TENX_HOME=/opt/tenx-edge" | sudo tee "/etc/profile.d/tenx-edge.sh"
echo "export TENX_BIN=\$TENX_HOME/bin/tenx-edge" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export TENX_MODULES=\$TENX_HOME/lib/app/modules" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export TENX_CONFIG=/etc/tenx/config" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export TENX_SYMBOLS_PATH=/etc/tenx/symbols" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export PATH=\$TENX_HOME/bin:\$PATH" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
  1. Environment variables will only work when starting a new terminal session, or -
source /etc/profile.d/tenx-cloud.sh
source /etc/profile.d/tenx-edge.sh
source /etc/profile.d/tenx-edge.sh
  1. Done. You can now configure and start the runtime -
tenx run @my-config.yaml
  1. Download the RPM package file from the latest releases page.
# x86
tenx-cloud-<ver>-1.x86_64.rpm

# Arm64
tenx-cloud-<ver>-1.aarch64.rpm
# x86
tenx-edge-<ver>-1.x86_64.rpm

# Arm64
tenx-edge-<ver>-1.aarch64.rpm
  1. Install the package
yum install /path/to/tenx-cloud.rpm
yum install /path/to/tenx-edge.rpm
  1. Download config tar.gz from the latest releases page.

  2. Unpack with -

mkdir -p /etc/tenx/config
tar -xzf /path/to/CONFIG.TAR.GZ -C /etc/tenx/config
  1. Download the symbol library tenx-symbols-<ver>.10x.tar from the same releases page and put it where the engine looks for it. The single line installer does this step automatically; a manual install has to place the tar itself -
mkdir -p /etc/tenx/symbols
mv /path/to/tenx-symbols-<ver>.10x.tar /etc/tenx/symbols/
  1. Set up environment variables -
ln -s /opt/tenx-cloud/bin/tenx-cloud /opt/tenx-cloud/bin/tenx
echo "export TENX_HOME=/opt/tenx-cloud" | sudo tee "/etc/profile.d/tenx-cloud.sh"
echo "export TENX_BIN=\$TENX_HOME/bin/tenx-cloud" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
echo "export TENX_MODULES=\$TENX_HOME/lib/app/modules" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
echo "export TENX_CONFIG=/etc/tenx/config" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
echo "export TENX_SYMBOLS_PATH=/etc/tenx/symbols" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
echo "export PATH=\$TENX_HOME/bin:\$PATH" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
ln -s /opt/tenx-edge/bin/tenx-edge /opt/tenx-edge/bin/tenx
echo "export TENX_HOME=/opt/tenx-edge" | sudo tee "/etc/profile.d/tenx-edge.sh"
echo "export TENX_BIN=\$TENX_HOME/bin/tenx-edge" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export TENX_MODULES=\$TENX_HOME/lib/app/modules" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export TENX_CONFIG=/etc/tenx/config" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export TENX_SYMBOLS_PATH=/etc/tenx/symbols" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export PATH=\$TENX_HOME/bin:\$PATH" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
  1. Environment variables will only work when starting a new terminal session, or -
source /etc/profile.d/tenx-cloud.sh
source /etc/profile.d/tenx-edge.sh
  1. Done. You can now configure and start the runtime -
tenx run @my-config.yaml
  1. Download the RPM package file from the latest releases page.
# x86
tenx-cloud-<ver>-1.x86_64.rpm

# Arm64
tenx-cloud-<ver>-1.aarch64.rpm
# x86
tenx-edge-<ver>-1.x86_64.rpm

# Arm64
tenx-edge-<ver>-1.aarch64.rpm
  1. Install the package
dnf install /path/to/tenx-cloud.rpm
dnf install /path/to/tenx-edge.rpm
  1. Download config tar.gz from the latest releases page.

  2. Unpack with -

mkdir -p /etc/tenx/config
tar -xzf /path/to/CONFIG.TAR.GZ -C /etc/tenx/config
  1. Download the symbol library tenx-symbols-<ver>.10x.tar from the same releases page and put it where the engine looks for it. The single line installer does this step automatically; a manual install has to place the tar itself -
mkdir -p /etc/tenx/symbols
mv /path/to/tenx-symbols-<ver>.10x.tar /etc/tenx/symbols/
  1. Set up environment variables -
ln -s /opt/tenx-cloud/bin/tenx-cloud /opt/tenx-cloud/bin/tenx
echo "export TENX_HOME=/opt/tenx-cloud" | sudo tee "/etc/profile.d/tenx-cloud.sh"
echo "export TENX_BIN=\$TENX_HOME/bin/tenx-cloud" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
echo "export TENX_MODULES=\$TENX_HOME/lib/app/modules" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
echo "export TENX_CONFIG=/etc/tenx/config" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
echo "export TENX_SYMBOLS_PATH=/etc/tenx/symbols" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
echo "export PATH=\$TENX_HOME/bin:\$PATH" | sudo tee -a "/etc/profile.d/tenx-cloud.sh"
ln -s /opt/tenx-edge/bin/tenx-edge /opt/tenx-edge/bin/tenx
echo "export TENX_HOME=/opt/tenx-edge" | sudo tee "/etc/profile.d/tenx-edge.sh"
echo "export TENX_BIN=\$TENX_HOME/bin/tenx-edge" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export TENX_MODULES=\$TENX_HOME/lib/app/modules" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export TENX_CONFIG=/etc/tenx/config" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export TENX_SYMBOLS_PATH=/etc/tenx/symbols" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
echo "export PATH=\$TENX_HOME/bin:\$PATH" | sudo tee -a "/etc/profile.d/tenx-edge.sh"
  1. Environment variables will only work when starting a new terminal session, or -
source /etc/profile.d/tenx-cloud.sh
source /etc/profile.d/tenx-edge.sh
  1. Done. You can now configure and start the runtime -
tenx run @my-config.yaml