Skip to content

Instantly share code, notes, and snippets.

@jcastellanos926
Last active April 8, 2019 22:13
Show Gist options
  • Save jcastellanos926/907566023c506cfe4d9d0c8b0ae75572 to your computer and use it in GitHub Desktop.
Save jcastellanos926/907566023c506cfe4d9d0c8b0ae75572 to your computer and use it in GitHub Desktop.
How to install the latest version of tmux (Installation script)

Tmux installation bash script

#!/usr/bin/env bash

sudo apt update

sudo apt-get install -y git automake build-essential pkg-config libevent-dev libncurses5-dev

git clone https://github.com/tmux/tmux.git /tmp/tmux

cd /tmp/tmux

git checkout master

sh autogen.sh

./configure && make

sudo make install

cd -

rm -rf /tmp/tmux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment