tmate-io / tmate

Instant Terminal Sharing
https://tmate.io/
Other
5.68k stars 302 forks source link

not getting the latest version from apt-get #181

Open igorlima opened 4 years ago

igorlima commented 4 years ago

even after updating apt-get:

apt-get update

I still getting the old version 2.2.1, not the one 2.4.0 - what is need to update apt-get-repository

brunoparodi commented 4 years ago

wget https://github.com/tmate-io/tmate/archive/2.4.0.tar.gz

extract with "tar -zxvf 2.4.0.tar.gz"

Compile, and install with the following steps:

cd tmate-2.4.0
./autogen.sh
./configure
make
make install

A few dependencies are required, like:

sudo apt-get install libtool 
sudo apt-get install libmsgpack-dev
sudo apt-get install libssh-dev
sudo apt-get install libevent-dev
sudo apt-get install build-essential
sudo apt-get install pkg-config
sudo apt-get install libncurses-dev
sudo apt-get install zlib1g-dev
FedericoCeratto commented 4 years ago

@igorlima https://packages.debian.org/source/bullseye/tmate Bullseye and Sid have the latest version

meeDamian commented 4 years ago

tl;dr for 2.4.0:

sudo apt install -y git libtool libmsgpack-dev libssh-dev libevent-dev build-essential pkg-config libncurses-dev zlib1g-dev && \
    git clone -b 2.4.0 https://github.com/tmate-io/tmate.git && \
    cd tmate && \
    ./autogen.sh && \
    ./configure && \
    make && \
    sudo make install
eMPee584 commented 4 years ago

alternatively: curl -L https://github.com/tmate-io/tmate/releases/download/2.4.0/tmate-2.4.0-static-linux-amd64.tar.xz|tar xJv

beikeland commented 3 years ago

alternatively 2; wget -O - https://raw.githubusercontent.com/MaxPeal/tmate/fork-with-get-tmate.sh/get-tmate.sh | sh