/
INTERX | Installation (Linux)
Search
Duplicate
Try Notion
Page icon

INTERX | Installation (Linux)

Dependencies

Deb package manager

Bash
Copy
echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list && apt-get update -y && \ apt install nfpm

Docker

Bash
Copy
apt-get update -y && \ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \ add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \ apt-get update -y && apt-get install docker-ce docker-ce-cli containerd.io -y && \ docker version

Others

Bash
Copy
apt-get install -y curl && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && apt-get update -y && \ apt-get install -y --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages \ file build-essential hashdeep make tar unzip zip p7zip-full curl iputils-ping nano jq python python3 python3-pip \ bash lsof bc dnsutils psmisc netcat coreutils binutils

INTERX installation

Assume root permissions
Bash
Copy
sudo -s
Set desired INTERX release version and binaries repo as env variables within /etc/profile, with bash-utils or manually. Sourcing /etc/profile is necessary.
Bash
Copy
setGlobEnv INTERX_VERSION "v0.4.34" && \ setGlobEnv INTERX_REPO "$HOME/interx" && \ loadGlobEnvs
Clone repository and install
Bash
Copy
rm -fr $INTERX_REPO && rm -fr $GOBIN/interx && mkdir $INTERX_REPO && cd $INTERX_REPO && \ git clone https://github.com/KiraCore/interx.git -b $INTERX_VERSION $INTERX_REPO && \ chmod -R 777 ./scripts && make install && \ echo "SUCCESS installed interx $(interx version)" || echo "FAILED"