How_To_Linux_Solutions/day_4/compile_tmate.sh

18 lines
433 B
Bash
Raw Normal View History

2022-08-29 20:35:42 +00:00
#!/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