#!/usr/bin/env bash # Sync repositories apt update # Install required packages apt install -y git-core build-essential pkg-config libtool libevent-dev libncurses-dev zlib1g-dev automake libssh-dev libmsgpack-dev # Follow instructions from the Tmate website to compile git clone https://github.com/tmate-io/tmate.git cd tmate ./autogen.sh ./configure make make install # Move output binary to "output volume" mv tmate /volumes/bin